Skip to main content

Notifications

Community site session details

Community site session details

Session Id :
Power Apps - Microsoft Dataverse
Answered

Custom Buttons created via Customize Command Bar Not Visible in Ribbon Workbench

(0) ShareShare
ReportReport
Posted on by 24

Hello All,

 

I have created 2 customs buttons using the "Customize Command Bar" option. The buttons work fine, and the field level visibility conditions work as required. 

The problem I am facing is that these buttons should be visible to people only assigned a specific security role.

When I imported the custom entity into a test solution and opened it in Ribbon Workbench to add the rules based on a user's security role, the buttons were not visible in the ribbon workbench.

 

Is there any way to get the buttons on the ribbon workbench? Or since they are treated as components, it is not possible?

 

If the latter, is there any workarounds for adding Security role based visibility conditions apart from using the ribbon workbench?

 

Thank You,

Biswa

  • biswaroopPower2 Profile Picture
    24 on at
    Re: Custom Buttons created via Customize Command Bar Not Visible in Ribbon Workbench

    I was able to take away Delete permission from the other conflicting role after discussions with the team and used DataSourceInfo to meet the visibility requirements.

  • ivan_apps Profile Picture
    2,187 Super User 2025 Season 1 on at
    Re: Custom Buttons created via Customize Command Bar Not Visible in Ribbon Workbench

    What you can do is grant one role access to one of the core tables that aren't used in your app. Say your app does nothing with the 'contact' table - grant one role "Append" access to the contact table and ensure the other does not have it. Then you can do a similar access check with modern command buttons that don't affect your app.

  • biswaroopPower2 Profile Picture
    24 on at
    Re: Custom Buttons created via Customize Command Bar Not Visible in Ribbon Workbench

    Thought as much. 

    Thank you for the confirmation

  • biswaroopPower2 Profile Picture
    24 on at
    Re: Custom Buttons created via Customize Command Bar Not Visible in Ribbon Workbench

    Thanks for the response.

     

    Unfortunately, I have 2 different security roles with similar access levels, it's just that one of them is for admins (users who should see the buttons) and one is for managers (they have CRUD access as well).

     

    However, this will work in scenarios where roles have different accesses to the entities.

  • Verified answer
    ivan_apps Profile Picture
    2,187 Super User 2025 Season 1 on at
    Re: Custom Buttons created via Customize Command Bar Not Visible in Ribbon Workbench

    For modern command buttons, the visibility can be access based not security role based.

     

    for example, you can check if the current user has ‘create’ or ‘delete’ org-level permissions on the systemuser table to check if they are an admin… versus checking for the System Administrator role.

     

    so if your security role has a unique access level, you can use that instead of checking for a specific security role by name. 

  • MarioRing Profile Picture
    541 Super User 2024 Season 1 on at
    Re: Custom Buttons created via Customize Command Bar Not Visible in Ribbon Workbench

    Unfortunately, that is the major disadvantage of using low-code ribbon buttons, I also hate it;) For that type of scenario you have to use buttons developed completely in Ribbon Workbench.

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

Understanding Microsoft Agents - Introductory Session

Confused about how agents work across the Microsoft ecosystem? Register today!

Warren Belz – Community Spotlight

We are honored to recognize Warren Belz as our May 2025 Community…

Congratulations to the April Top 10 Community Stars!

Thanks for all your good work in the Community!

Leaderboard > Power Apps - Microsoft Dataverse

#1
stampcoin Profile Picture

stampcoin 15

#2
ankit_singhal Profile Picture

ankit_singhal 11 Super User 2025 Season 1

#3
mmbr1606 Profile Picture

mmbr1606 9 Super User 2025 Season 1

Overall leaderboard

Featured topics