locked
Dynamics CRM Form Read Only RRS feed

  • Question

  • Greetings.

    Is there a "built-in" method to turn a CRM from "READ-ONLY" besides the obvious parsing of all controls?

    Thanks and regards,

    Frank M.


    Frank

    Thursday, September 7, 2017 3:43 PM

All replies

  • Hello Frank,

    There is no OOB method to do that but you can use following script:

    Xrm.Page.data.entity.attributes.forEach(function (attribute, index) {    
        var control = Xrm.Page.getControl(attribute.getName());
        if (control) {
            control.setDisabled(true)
        }
    });


    Dynamics CRM/Business Solutions MVP
    Read My blog

    Thursday, September 7, 2017 6:00 PM
    Moderator
  • Hi,

    Permissions would do the trick, probably the simplest. (ie remove the update permission on the users role)

    A more complicated method is to set the update permission to record owner and assign all the records everything to a "power user".

    That way the record could be assigned to you only if you need to make changes to it.

    regards,

    Don

    Friday, September 8, 2017 1:32 AM