Let's Get Started: In this tutorial, I'll demo how the below JavaScript can allow a user to select a value from an option set that will show or hide a tab in a model-driven app form.
function TripTypeChange() {
if(Xrm.Page.getAttribute("option set schema name").getValue() != "option set schema name value") {
Xrm.Page.ui.tabs.get("tab name").setVisible(false);
}
else {
Xrm.Page.ui.tabs.get("tab name").setVisible(true);
}
}
Watch video Show/Hide a Tab in a Model-Driven App Form using JavaScript online without registration, duration hours minute second in high quality. This video was added by user Andrea Pinillos 16 February 2023, don't forget to share it with your friends and acquaintances, it has been viewed on our site 7,04 once and liked it 7 people.