locked
How to disable fields in process on page load in CRM 2013 RRS feed

  • Question

  • Hi,

    I have tried this script on load event but field is not disabled. Actually I want to disable field by default in process.

    function hide()
    {
    Xrm.Page.getControl("header_process_new_internalreviewresult").setDisabled(true);
    }

    Thursday, January 15, 2015 7:30 AM

All replies

  • Hello,

    That is not possible in supported way for CRM 2013. That possibility appeared in CRM 2015.


    Dynamics CRM MVP/ Technical Evangelist at SlickData LLC
    My blog


    Thursday, January 15, 2015 7:34 AM
    Moderator
  • I am using the following code and it working in MS CRM 2013
    function hide() {
        var c = Xrm.Page.getControl("header_process_new_internalreviewresult");
        if (c != null) {
            c.setDisabled(true);
        }
    }


    Regards Faisal

    Thursday, January 15, 2015 10:05 AM