web
You’re offline. This is a read only version of the page.
close
Skip to main content

Notifications

Announcements

No record found.

Community site session details

Community site session details

Session Id :
Customer experience | Sales, Customer Insights,...
Suggested Answer

FX Command Bar Buttons Not Visible

(0) ShareShare
ReportReport
Posted on by 10

Hi,

I have a custom entity main form.  I have added 2 command bar buttons using the low-code Power Apps 'In Preview' FX Command Bar functionality.  Adding two buttons was straight-forward, and I've tied their respective actions to javascript functions.  I have deployed them successfully to upper environments without a hitch.  Both buttons' visibility is set to 'Show'.

The problem comes where a set of users with fewer permissions that what I have, are unable to see those buttons.  I am a system administrator, and if I give said users the same 'sys administrator' user role, they are also able to see the buttons.  However, it's not ideal that I would need to up everybody's permissions to system admin in order for them to see and use two simple buttons.

I have 3 questions:

1) Surely by adding a button - or two buttons in this case, its default security behavior is such that all users should be able to see it after it's deployed?

2) I have investigated the ribbondebug=true querystring and the new buttons do show, but their "Enable Rules" and "Display Rules" do not show any values/properties.  Is there any documentation on working with buttons that were not added using the Ribbon Workbench, and instead, added using the Power Apps FX Command Bar feature (in preview)?

3) Are there perhaps certain user roles relevant to the underlying entity in question that need to get assigned to the designated users?

Many Thanks,

Andy

I have the same question (0)
  • SriniD Profile Picture
    on at

    AndyMal Thanks for using the Modern Commanding.

    Clarifying your questions.

    1. Correct, since you added a button without any rules and always shows by setting visibility to "Show." It should be visible to all users unless there is any rule.

    Can you provide more details such as the name(labels) of the new buttons, sessionId of the repro where buttons are not visible, and also a screenshot of the command checker rules evaluation of the hidden buttons?

    2. Since no rules exist for this new button, the command checker is working as expected. Please follow more here for documentation.

    docs.microsoft.com/.../command-designer-overview

    3. I think so.

  • Suggested answer
    Bipin D365 Profile Picture
    28,983 Moderator on at

    Hi,

    Have you shared the command library component with the user?

    You will find the Command Library components in your solution.

    Also, please check if user has read permission on Model Driven App Element table in security role assigned to that user

  • AndyMal Profile Picture
    10 on at

    Hi Bipin,

    Apologies for the late response.

    I have shared the component library with the affected users, and this has exposed the new command buttons to a handful of them, but not all of the users.

    The ones that can see the button have similar user roles.  Do you know if user roles affect the visibility of custom buttons?  I would not think so.

    The "Model-driven App" security role under 'Customization' is also set to full Read permissions.  Where can I find the "Model Driven App Element table" security role that you mention?

    I appreciate your response.

    Cheers,

    Andy

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

Responsible AI policies

As AI tools become more common, we’re introducing a Responsible AI Use…

Neeraj Kumar – Community Spotlight

We are honored to recognize Neeraj Kumar as our Community Spotlight honoree for…

Leaderboard > Customer experience | Sales, Customer Insights, CRM

#1
Tom_Gioielli Profile Picture

Tom_Gioielli 73 Super User 2025 Season 2

#2
Gerardo Rentería García Profile Picture

Gerardo Rentería Ga... 43 Most Valuable Professional

#3
Daniyal Khaleel Profile Picture

Daniyal Khaleel 32 Most Valuable Professional

Last 30 days Overall leaderboard

Product updates

Dynamics 365 release plans