web
You’re offline. This is a read only version of the page.
close
Skip to main content

Notifications

Announcements

No record found.

Community site session details

Community site session details

Session Id :
Finance | Project Operations, Human Resources, ...
Answered

How to enable and disable Form tab pages based on base enum field

(0) ShareShare
ReportReport
Posted on by 35

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')

I have the same question (0)
  • Suggested answer
    Sai_ krishna Profile Picture
    35 on at

    Replay

  • Verified answer
    ergun sahin Profile Picture
    8,826 Moderator on at

    Set the tabpages autoDeclaration properties to Yes. You can edit the Visible properties of tabPages as NO/YES according to the selection in the modified method of the enum field.

    If there is a tabPage that you do not want to appear when the first form is opened, you can set the visible property of the relevant tabPage to NO in the form design.

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.

Helpful resources

Quick Links

Responsible AI policies

As AI tools become more common, we’re introducing a Responsible AI Use…

Neeraj Kumar – Community Spotlight

We are honored to recognize Neeraj Kumar as our Community Spotlight honoree for…

Leaderboard > Finance | Project Operations, Human Resources, AX, GP, SL

#1
Martin Dráb Profile Picture

Martin Dráb 660 Most Valuable Professional

#2
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 549 Super User 2025 Season 2

#3
Sohaib Cheema Profile Picture

Sohaib Cheema 307 User Group Leader

Last 30 days Overall leaderboard

Product updates

Dynamics 365 release plans