Friday, 24 March 2017

Hide and Show tab using javascript in Dynamic CRM.

show hide tab in dynamic crm

Description:

In this example we explain that how to show hide Tabs using javascript in Dynamic CRM.or how to set visible true false to Tabs using javascript in dynamic CRM.

Suppose in your Dynamic CRM one entity called “Broker” entity and have one tab name like “Prospect” tab. Show how to show / Hide this Tab using Javascript in CRM.

Here we demonstrate Hide and Show tab using javascript in Dynamic CRM.
Code:

Show tab Code

Xrm.Page.ui.tabs.get("yourtabname").setVisible(true);
Xrm.Page.ui.tabs.get("Prospect").setVisible(true);

Hide tab Code

Xrm.Page.ui.tabs.get("yourtabname").setVisible(false);

Xrm.Page.ui.tabs.get("Prospect").setVisible(false);

0 comments:

Post a Comment