How to hide and show a tab in Dynamics 365 based on a field value

Fredrik Engseth
2 min readOct 27, 2021

A sample function on how you can show and hide a tab based on a Yes/No field in Dynamics 365. To use the script create a new script or add the function to an already existing web resource and add it to the forms on load event and the on change event on the field.

--

--

Fredrik Engseth

Developer | Dynamics 365 | Power Platform | Azure | Personal development | Investments | ☕ https://www.buymeacoffee.com/fredrikengseth