Hiding or disabling elements in Microsoft Dynamics CRM 3.0
Views (145)
Aim : To disable the close opportunity menu item from the Actions Menu for Opportunity form.
Put the following code in the Form_Load script of the Opportunity form
document.getElementById(‘_MIcomplete’).Style=”display:none” ;
Put the id of the menu item there
To get the id name for any particular menu item
-
step 1- open the opportunity form in crm.
-
step 2- press ctrl+N to open the same form in a new window.
-
step 3- right click go to view source and find the id of the required element.
Same thing we can do for buttons added through isv.config as well as other elements
ISV_New_1_199_Billing.style.display = “none” ;
Bye
This was originally posted here.

Like
Report
*This post is locked for comments