Monday, February 13, 2012

MS CRM4: Editing read only or hidden fields set by JS on the fly

we had a CRM form with some fields set as read-only by JavaScript, we wanted to edit one of these fields, and the form was published to production
Screenshot-2012-02-13_14.39.22
The normal way to edit it is to comment the javascript then edit the field then uncomment it back
We thought of another way, using multi edit feature, created another dummy record, then selected both records, and from more actions select Edit
Screenshot-2012-02-13_14.37.26
The form will be opened, nut non of the javascript will be executed, so all fields will be displayed in normal mode, read only and hidden fields can be edited
Screenshot-2012-02-13_14.37.41
Then you will be able to update the record without any change in customizations.
Don’t forget to delete the dummy record Winking smile

No comments:

Post a Comment