Customization

Hiding navigation items in a form

The following javascript in a form may be used to hide left-hand navigation items. Note that is unsupported because it is not documented in the SDK.

In this example, the navigation item is for More Addresses - replaces navAddresses with the appropriate item.

document.getElementById("navAddresses").style.display="none"

To display the navigation item use:

document.getElementById("navAddresses").style.display="inline"

 

Hiding Tabs in Forms

An unsupported method (unsupported because it is not described in the SDK) is available to hide tabs in a form.

Use the following:

crmForm.all.tabxTab.style.visibility="hidden";

crmForm.all.tabxTab.style.position="absolute";

where x is the number of the tab on the form starting at 0. Not sure why both hidden and absolute are needed though.

 

Pages