Skip to main content

Notifications

Community site session details

Community site session details

Session Id :
Microsoft Dynamics 365 | Integration, Dataverse...
Suggested answer

Hiding items from the related dropdown

(0) ShareShare
ReportReport
Posted on by 5

Within an entity detail page, is there a supported way to hide items in the related drop down using JavaScript?

I have tried using:

Xrm.Page.ui.navigation.items.get("xxxx").setVisible(false);

But this doesn't seem to work.

Thanks.

  • Suggested answer
    Divya Gupta Profile Picture
    on at
    RE: Hiding items from the related dropdown

    Hi Lee, please see this post: community.dynamics.com/.../related-tab-options.

  • Lee D Profile Picture
    5 on at
    RE: Hiding items from the related dropdown

    This is the dropdown menu I mean.

    related.PNG

    How do I hide items in this list?

  • Rui Carvalho Profile Picture
    on at
    RE: Hiding items from the related dropdown

    Hello Lee,

    What do you mean with 'entity detail page' ?

    If it is still within a page record and you want to hide items from an optionset field you can use the following:

    docs.microsoft.com/.../removeoption

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

🌸 Community Spring Festival 2025 Challenge 🌸

WIN Power Platform Community Conference 2025 tickets!

Jonas ”Jones” Melgaard – Community Spotlight

We are honored to recognize Jonas "Jones" Melgaard as our April 2025…

Kudos to the March 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... 294,261 Super User 2025 Season 1

#2
Martin Dráb Profile Picture

Martin Dráb 232,996 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,158 Moderator

Leaderboard

Product updates

Dynamics 365 release plans