Skip to main content

Notifications

Microsoft Dynamics 365 | Integration, Dataverse...
Unanswered

Ribbon button not showing if the user is not system administrator

Posted on by

Hi,

I am having an issue at the moment where a ribbon button is not showing if the user has a different security role than "system administrator". This rule has not been implemented in neither Ribbon workbench or the javascript code. Do any of you recognise this problem, any tips is appreciated! 

  • LeoAlt Profile Picture
    LeoAlt 16,329 on at
    RE: Ribbon button not showing if the user is not system administrator

    Hi partner,

    Please check the following points.

    1.Check if there is any other display rules in this ribbon in ribbon workbench and check them one by one.

    pastedimage1588149650974v1.png

    2.Check the enable rules.

    pastedimage1588149803937v2.png

    3.Check if other security role has the permission for the entity which contains this ribbon.

    Could you share the ribbon details in ribbonworkbench to us?

    Regards,

    Leo

  • LuHao Profile Picture
    LuHao 40,872 on at
    RE: Ribbon button not showing if the user is not system administrator

    Hi Flyth,

    This seems to be a custom command.

    You can copy this button first, and then for the copied button, try to remove the commands that may cause the button to be hidden . After finding the command, remove the command from the original button. Finally, delete the copied button.

  • Flyth Profile Picture
    Flyth on at
    RE: Ribbon button not showing if the user is not system administrator

    The button that i want to show is for creating reports, and i can see that there is a "Hide action" thatis called reports.hide, could this be the issue?

  • Flyth Profile Picture
    Flyth on at
    RE: Ribbon button not showing if the user is not system administrator

    I have an enable rule for this button which shows the button depending on values in a picklist. The is then connected to a javascript but that script doesn't show/hide based on a security role. I can't see that there is a command for MiscellaneousPrivilegeRule or EntityPrivilegeRule

  • LuHao Profile Picture
    LuHao 40,872 on at
    RE: Ribbon button not showing if the user is not system administrator

    Hi Flyth,

    In the ribbon workbench, please check the display rules and enable rules of this button.

    Is there a command for MiscellaneousPrivilgeRule or EntityPrivilegeRule?

    Please refer to https://community.dynamics.com/365/b/goutamdas/posts/show-hide-ribbon-button-based-on-security-role-without-writing-code-in-dynamics-365-ce

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

December Spotlight Star - Muhammad Affan

Congratulations to a top community star!

Top 10 leaders for November!

Congratulations to our November super stars!

Community AMA December 12th

Join us as we continue to demystify the Dynamics 365 Contact Center

Leaderboard

#1
André Arnaud de Calavon Profile Picture

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

#2
Martin Dráb Profile Picture

Martin Dráb 230,188 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,156

Leaderboard

Product updates

Dynamics 365 release plans