locked
Disable 'Cancel Case' menu in Case Entity RRS feed

  • Question

  • Hi All,

    Is there any way to disable Cancel Case menu? also any easy way to get actual element id (actual hidden id) from each menu in CRM?

    Thursday, September 17, 2009 3:04 PM
    Answerer

Answers

  • Download the IE developer toolbar; it has a tool which can navigate the DOM of a page and give you the id of each element.

    Using that id, you can put the following code in the onload event of your case form to hide the Cancel Case button:

    var cancelButton = document.getElementById("_MIcancel");
    cancelButton.style.display = "none";
    Thursday, September 17, 2009 3:40 PM
  • Found the article...http://wookiecrm.typepad.com/wookies_crm_corner/2009/02/how-to-hide-buttons-on-crm-forms.html

    Friday, September 18, 2009 3:14 PM
    Answerer

All replies

  • Download the IE developer toolbar; it has a tool which can navigate the DOM of a page and give you the id of each element.

    Using that id, you can put the following code in the onload event of your case form to hide the Cancel Case button:

    var cancelButton = document.getElementById("_MIcancel");
    cancelButton.style.display = "none";
    Thursday, September 17, 2009 3:40 PM
  • Thanks Richard!! ..This is perfact..

    Also I remembered seeing blog post some time back which details how one can use IE toolbar to navigate DOM and element id, if you get any similiar more information please pass it to me.

    Thursday, September 17, 2009 4:09 PM
    Answerer
  • Found the article...http://wookiecrm.typepad.com/wookies_crm_corner/2009/02/how-to-hide-buttons-on-crm-forms.html

    Friday, September 18, 2009 3:14 PM
    Answerer