Hide Headers, Commandbar, Tabs in D365 Forms

There are options available to hide Command Bar, Header part and Tabs. 

Below is the screenshot which highlights these areas for your understandings.


let formContext = Xrm.Page;

or

let formContext = executionContext.getFormContext();

// Hide Header part

formContext.ui.headerSection.setBodyVisible(false);

 

//Hide Command bar

formContext.ui.headerSection.setCommandBarVisible(false);

 

// Hide Tabs

formContext.ui.headerSection.setTabNavigatorVisible(false);



After all are hidden,





Comments

Popular posts from this blog

Using Shared libraries in D365 CE Plugin

Using Resx file in D365 Plugins/Workflows

Ribbon debug/Command checker tool