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

Notifications

Announcements

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 593
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
I have the same question (0)
  • Verified answer
    YUN ZHU Profile Picture
    97,089 Super User 2025 Season 2 on at
    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
  • Suggested answer
    Ram Pranav Profile Picture
    50 on at
    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.

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…

Congratulations to our 2025 Community Spotlights

Thanks to all of our 2025 Community Spotlight stars!

Leaderboard > Small and medium business | Business Central, NAV, RMS

#1
OussamaSabbouh Profile Picture

OussamaSabbouh 2,167

#2
Dhiren Nagar Profile Picture

Dhiren Nagar 1,184

#3
YUN ZHU Profile Picture

YUN ZHU 1,161 Super User 2025 Season 2

Last 30 days Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans