It is common practice in Microsoft Dynamics 365 to use Business Rules to show and hide fields on a form. But, with that addition of multi-select option sets, you can't do this. So the next logical step is to use JavaScript. There is just one small problem, there is no setVisible() function for multi-selection option sets. Here are the controls we do have access too, as of this post: So, how can we dynamically show / hide multi select option sets? The easiest way is to use a section. Place a new section on you form. Then you will need to use JavaScript to get the tab and section by name. Once you have that, you can dynamically show / hide the section to make the multi-selection option set show and hide. Here is an example of the JavaScript: function ShowHide(executionContext) { //Create the form context var formContext = executionContext.getFormContext(); var contactStatus = formContext.getAttribute("Field Nam...
This is my blog about my experiences working as a software developer, consultant and systems integrator. I primarily focus on Microsoft Dynamics 365, Microsoft Azure, and Scribe Online.