Skip to main content

Notifications

Announcements

No record found.

Community site session details

Community site session details

Session Id :
Small and medium business | Business Central, N...
Answered

How to hide OptionMembers based on condition

(1) ShareShare
ReportReport
Posted on by 558
Hi,
    I have to hide some of the optionmembers based on some other fields conditionally
 
Any help on this would be much appreciated
 
 
Thanks,
Tamilarasu Arunachalam
  • Suggested answer
    Ram Pranav Profile Picture
    50 on at
    How to hide OptionMembers based on condition
    Hi Tamilarasu,
     
    Option or Enum data types are not intended to change dynamically. Instead, you can create a Table, insert all OptionMembers, and make your Field's TableRelation to reference the new table, which can be filtered by other fields.
     
    Regards,
    Ram Pranav.
  • Verified answer
    YUN ZHU Profile Picture
    79,160 Super User 2025 Season 1 on at
    How to hide OptionMembers based on condition
    Hi, you can try to use ValuesAllowed Property, but the displayed items are fixed, so if you want to make it perfect, you must add multiple identical fields to set different ValuesAllowed Property, and display different fields according to different conditions.
    More details:
    Hiding enum values on the page (ValuesAllowed Property)
     
    Hope this helps.
    Thanks.
    ZHU

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

Daivat Vartak – Community Spotlight

We are honored to recognize Daivat Vartak as our March 2025 Community…

Announcing Our 2025 Season 1 Super Users!

A new season of Super Users has arrived, and we are so grateful for the daily…

Kudos to the February Top 10 Community Stars!

Thanks for all your good work in the Community!

Leaderboard

#1
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 293,274 Super User 2025 Season 1

#2
Martin Dráb Profile Picture

Martin Dráb 231,947 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,156 Moderator

Leaderboard

Featured topics

Product updates

Dynamics 365 release plans