![]() Show/ hide ribbon menu dynamically on on Model driven app form/ Dynamics 365 form.Show/ hide header and primary attribute section dynamically on Model driven app form/ Dynamics 365 form.Precisely using the methods provided in the API you can do the following. formContext.ui.tTabNavigatorVisible(false) Īs seen from the above screenshot, the tab navigation is not visible. So if you want to show/ hide header dynamically on Model driven app form, you can use the function setBodyVisible.Īnd now the final one – setTabNavigatorVisible. formContext.ui.tBodyVisible(false) Īs you can see from the above screenshot, the header and the primary name field are both hidden. So if you are planning to show/ hide the ribbon menu dynamically, then you can use the setCommandBarVisible method.īelow is how the screen look when you use the function setBodyVisible and pass false to the function. formContext.ui.tCommandBarVisible(false) Īs you can see, the ribbon menu disappear when you pass false to this method. Below is how the form look when we use the function setCommandBarVisible to false. If you look at the above the screenshot, precisely these methods control the respective sections of the header. getTabNavigatorVisible/ setTabNavigatorVisible. ![]()
0 Comments
Leave a Reply. |
Details
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |