locked
MSCRM Form Selector RRS feed

  • Question

  • Hi ,

    I want to disable the Form Selector available on MSCRM 2015 Form when page loads.

    Could you help on this?

    I have tried the below codes but of no help...!!

    document.getElementById("header_crmFormSelector").disabled = true;

    Xrm.Page.ui.controls.get("header_crmFormSelector").setVisible(false);

    Xrm.Page.getControl("header_crmFormSelector").setVisible(false);

    I got "header_crmFormSelector" using developer tools.. 

    None of the above code seems to work..!!

    Thanks

    Uma

    Wednesday, February 11, 2015 12:58 PM

All replies

  • Hi,

          There is no need to code for this. Please make sure in the form settings, there is only form for the desired role.

    Hope this helps.
     
     -----------------------------------------------------------------------
     Minal Dahiya
     blog : http://minaldahiya.blogspot.com.au/

     If this post answers your question, please click "Mark As Answer" on the post and "Vote as Helpful"

     

    Wednesday, February 11, 2015 1:15 PM
  • Hi,

    Did you try this:-

    document.getElementById("header_crmFormSelector").style.display = "none";
    

    Thanks,

    Prasad

    Make sure to "Vote as Helpful" and "Mark As Answer",if you get answer of your question

    Thursday, February 12, 2015 11:16 AM