Skip to main content

Notifications

Customer experience | Sales, Customer Insights,...
Suggested answer

Can we hide Command Bar buttons through configuration?

(0) ShareShare
ReportReport
Posted on by

Is there a way to hide buttons on the command bar of an entity through configuration?

  • Suggested answer
    Muhammedkhaled Profile Picture
    Muhammedkhaled 35 on at
    RE: Can we hide Command Bar buttons through configuration?

    For that you Could Make

    1- New security Role And take all the privilege's For the user and paste in the new role from the old one

    2- then you customize this role from the AOT and find the button you want to remove the select the button From action panel as a INVISIBLE  

    After that the button will be removed for the user that have the NEW ROLE we made .

  • Suggested answer
    Community Member Profile Picture
    Community Member Microsoft Employee on at
    RE: Can we hide Command Bar buttons through configuration?

    Hi,

    If you need to disable some buttons , you can achieve this by using security role

    for example: if you remove "create role" from one of security roles , so the assigned user can't see "New" button from the entity.

    the same way for assign button also, and so on.

    in another way, you can work with ribbon workbench to set the enable rule for each button (for example, by using js and attach it in enable rule) for reference: blog.magnetismsolutions.com/.../how-to-use-enable-rules-in-dynamics-365-with-the-ribbon-workbench

  • Suggested answer
    Community Member Profile Picture
    Community Member Microsoft Employee on at
    RE: Can we hide Command Bar buttons through configuration?

    Hi:

    There is no OOB way to do this. You can use Ribbon Workbench to load the entity and hide the correspond button.

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

News and Announcements

Announcing Category Subscriptions!

Quick Links

December Spotlight Star - Muhammad Affan

Congratulations to a top community star!

Top 10 leaders for November!

Congratulations to our November super stars!

Tips for Writing Effective Verified Answers

Best practices for providing successful forum answers ✍️

Leaderboard

#1
André Arnaud de Calavon Profile Picture

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

#2
Martin Dráb Profile Picture

Martin Dráb 230,370 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,156

Leaderboard

Featured topics

Product updates

Dynamics 365 release plans