In Dynamic 365 Finance and operations I created one form in that form initially i created one gruoup control this have checkbox (base enum field(name:'Monitor' inside that 3 selected items are available i.e 'batch', 'extension' and 'none' ))
After i created another group that have Tabcontrol inside that two tabpages i created (name: BatchTab and MonitorTab). Each tabpage haveAction pane and button group and buttons.
My question is i want to hide the second tabpage(i.e MonitotTab) when the baseEnum (i.e Monitor) field have 'extension' (or) 'none'. If baseEnum (name: Monitoring) Field have 'batch' then both tabpages are visible i need code for this task.
Note: In this form data source have two tables (name: 'Monitor' and 'User')