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

Announcements

No record found.

News and Announcements icon
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
  • Verified answer
    YUN ZHU Profile Picture
    104,090 Super User 2026 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

Season of Sharing Community Challenge Winners!

Congratulations to our community stars!

Women in Power Builds Momentum

Expanding mentorship, skilling, and AI innovation

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

#1
OussamaSabbouh Profile Picture

OussamaSabbouh 664 Super User 2026 Season 2

#2
YUN ZHU Profile Picture

YUN ZHU 446 Super User 2026 Season 2

#3
Teagen Boll Profile Picture

Teagen Boll 282 Super User 2026 Season 2

Last 30 days Overall leaderboard

Featured topics

Microsoft Training Manuals

Product updates

Dynamics 365 release plans