Skip to main content

Notifications

Announcements

No record found.

Dynamics 365 general forum
Suggested answer

Hiding items from the related dropdown

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.

Categories:
  • 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

Helpful resources

Quick Links

Dynamics 365 Community Update – Sep 16th

Welcome to the next edition of the Community Platform Update. This is a weekly…

Announcing Our 2024 Season 2 Super Users!

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

Leaderboard

#1
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 290,349 Super User 2024 Season 2

#2
Martin Dráb Profile Picture

Martin Dráb 228,212 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,148

Leaderboard

Featured topics

Product updates

Dynamics 365 release plans