Notifications
Announcements
No record found.
Technology : Dynamic 365 Finance & Operations
My form Have one Base enum field and two tab pages. i want to hide the second tab page based on that base enum field. When i change base enum field value then my second tab page will disable. I want know the steps for changing the properties, methods. Where i have to write the code ?
replay
You asked a similar question, I think the answer was not clear.Let's go step by step;First of all, I know from the other topic that this is a custom form and we have nothing to do with the first tab page as far as I understand.
Set 2. tab page's AutoDeclaration-->Yes
Does the enum's first value require tab 2 to be closed when the form is opened?If yes, you can directly set the 2.tab page's visible property to no, the tab page will not appear when form opens, or you can do it in the code in the form's init method (after super).Next we need to manage the visible state of the second tab page with the enum value. You can write this code (myTabPage.visible(false/true)) in modifield of enum
Note:I did the development example in the 2012 version but there is no difference as far as I know.
Under review
Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.
As AI tools become more common, we’re introducing a Responsible AI Use…
We are honored to recognize Neeraj Kumar as our Community Spotlight honoree for…
These are the community rock stars!
Stay up to date on forum activity by subscribing.
Martin Dráb 660 Most Valuable Professional
André Arnaud de Cal... 549 Super User 2025 Season 2
Sohaib Cheema 307 User Group Leader