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

Announcements

News and Announcements icon
Community site session details

Community site session details

Session Id :
Power Platform Community / Forums / Power Apps / Command Bar Button Not...
Power Apps
Unanswered

Command Bar Button Not Loading in Model-Driven apps

(0) ShareShare
ReportReport
Posted on by 172

Hi There, 

 

I built a model-driven app that includes a view of a table from another solution. As part of the build I followed Scott Durows Modern Commanding video to create a single button on the imported table view that should appear when one or more rows is selected. 

 

When the app is first opened, the button refuses to appear no matter how many items are selected and when I look at the Command Checker I can see that the button isn't even loaded (or hidden). 

 

If I then press F5 to refresh the screen the button is loaded (and hidden in the command Checker) and will appear if I select a few rows. 

 

I've looked at dozens of community posts and videos around this subject, but these seem to deal mainly with using Powerfx formulas to make the button visible or not and don't address the situation where the button isn't loaded in the first place. 

 

I added a new button to the same command bar and got the same behaviour, but if I do this on a command bar for a table created for this project it works fine. 

 

I suspect this is to do with the table I imported and its associated command bars, but I can't see anything that leads me to the next step - can anyone help with this one?

 

Thanks! 

Categories:
I have the same question (0)
  • MaartenDeGijnst Profile Picture
    21 on at

    I'm having the same issue with 2 custom buttons on the custom table. First time you open the view, neither of them are shown. After a refresh, they both appear. When using the ribbon debug, no information is shown for display rules and under 'Actions' and 'Enable Rules' I got an error 'Component was not found in the library'. 

    Is that the same with you?

  • Thibault Martin Profile Picture
    Microsoft Employee on at

    Hello,

    In order to ensure that your button is updated, you may want to publish your component library.

    Additionally, have you tried clearing your cache while refreshing the page? You can do this by pressing CTRL + F5

  • MaartenDeGijnst Profile Picture
    21 on at

    I published the component library again and opened CRM in an incognito screen. Same issue again: first time I open the view both buttons are not showing up. If I refresh (with or without CTRL + F5), they do appear. But still the same error in the ribbon debug.

  • Serviced2000 Profile Picture
    172 on at

    Hi Maarten,

     

    Not in actions, but in Enable Rules I do see 

    Serviced2000_0-1680479069657.png

    I've done this a few times now but I'm going to try and republish the component library - again - and see if that helps.

     

  • Serviced2000 Profile Picture
    172 on at

    Republished the library - same error.

  • MaartenDeGijnst Profile Picture
    21 on at

    Hi,

    Have you been able to find a solution for this? I'm still struggling with this. Microsoft support didn't want to help with this issue as this is a custom button... 

  • Serviced2000 Profile Picture
    172 on at

    Hi Maarten,

     

    I'm afraid not - I ended up just telling my users to hit F5 when they open the page for the first time. If I do come across a solution I'll post it here.

  • MaartenDeGijnst Profile Picture
    21 on at

    Hi,

    I found yesterday that the issue is with the entity: I recreated the button on another entity and there it appeared first time with no issue. But I couldn't find the cause, so I ended up recreating the button in Ribbon Workbench and now it appears first time.

  • Serviced2000 Profile Picture
    172 on at

    Thanks Maarten, 

     

    I had the same experience with a different entity too. Will try XrmToolBox although I'm not keen on the Ribbon Workbench. 

     

    Will update when I've tested. 

     

  • Ethan_Power Profile Picture
    115 on at

    So recreating your custom command bar buttons fixed the issue? Now the command bar loads quickly without refreshing? My command bar takes like 30 seconds to load which is frustrating--I've suspected it is due to the custom command buttons. 

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

Season of Sharing Community Challenge Winners!

Congratulations to our community stars!

Kudos to our 2025 Community Spotlight Honorees

Expanding mentorship, skilling, and AI innovation

Congratulations to the July Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Power Apps

#1
WarrenBelz Profile Picture

WarrenBelz 329 Most Valuable Professional

#2
11manish Profile Picture

11manish 209 Super User 2026 Season 2

#3
Mohsin Ali Profile Picture

Mohsin Ali 179

Last 30 days Overall leaderboard