Skip to main content

Notifications

Announcements

No record found.

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
    Divya Gupta 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
    Lee D 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
    Rui Carvalho 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

Congratulations 2024 Spotlight Honorees!

Kudos to all of our 2024 community stars! 🎉

Meet the Top 10 leaders for December!

Congratulations to our December super stars! 🥳

Get Started Blogging in the Community

Hosted or syndicated blogging is available! ✍️

Leaderboard

#1
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 291,642 Super User 2024 Season 2

#2
Martin Dráb Profile Picture

Martin Dráb 230,371 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,156

Leaderboard

Product updates

Dynamics 365 release plans