locked
How to hide fields in business process in crm 2013 RRS feed

  • Question

  • Hi,

    I want to hide fields in business process in CRM 2013.

    Wednesday, January 14, 2015 8:19 AM

All replies

  • Hi,

    Please refer this link.

    We can simply use below line of code to show/hide the field from the BPF:

    Xrm.Page.getControl(“header_process_parentcontactid”).setVisible(false);


    Regards, Rekha.J


    • Edited by Rekha J Wednesday, January 14, 2015 8:45 AM
    Wednesday, January 14, 2015 8:40 AM
  • I am using this function on page load but error is occurred.

    function hide()
    {
    Xrm.Page.getControl("header_process_new_close”).setVisible(false);
    }

    Wednesday, January 14, 2015 9:06 AM
  • Hi,

    If in case you copy pasted the code from source, then the problem could be you double quotes(" "), delete them and you enter manually here "header_process_new_close”. This may work.


    Regards, Rekha.J


    • Edited by Rekha J Wednesday, January 14, 2015 9:25 AM
    Wednesday, January 14, 2015 9:24 AM
  • Put an alert in your code so that you can know whether your code is running or not.

    Regards Faisal

    Wednesday, January 14, 2015 12:19 PM