Mitch Milam's Dynamics CRM Discussions
Knowledge found and lost while working with Microsoft Dynamics CRM
-
Removing Sub-Accounts from the Dynamics CRM 3.0 Account Form
Ben Vollmer had an excellent post on how to hide navigation items using a bit of JavaScript.
I decided to put that into play tonight to remove the Sub-Accounts navigation option when the user displays the Account screen. We don't want Sub-Accounts on this solution so the following code will remove it.
Just put it into the Account Form OnLoad event.
var navSubAcct = document.all.navSubAct;
if (navSubAcct != null) { navSubAcct .style.display = "none"; }
Thanks Ben.
Customization, Dynamics CRM 1,771 views2 responses to “Removing Sub-Accounts from the Dynamics CRM 3.0 Account Form”
-
How you get this id —> navSubAct
-
You open the page up with a web browser, select View, Source, then look for the text label of the item you're interesting in. The Id of the item should be in close proximity to the text label.
Leave a reply
-



