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 / Modern Command Bar Vis...
Power Apps
Unanswered

Modern Command Bar Visible not working. 'Component was not found in the library'

(1) ShareShare
ReportReport
Posted on by 379

On multiple occasions, I've tried to use Modern Command Bar commands, with PowerFX 'Visible' formulas. Never got them to work (reliably).  I just found Command Checker, and it shows an error 'Component was not found in library' on my one and only 'modern' command's Visible property.

 

My understanding is that PowerApps is supposed to generate the JS for the custom commands.  So how can the missing component be found?

 

My command bar customization is in the same Solution as the model-driven app it should run in.

 

The strange thing is: Command Checker says 'Component was not found in the library' for BOTH the Action, and the Visible property.  But the Action works! (the Action is JS that invokes a custom canvas page as a dialog).  So I'm not sure if 'Component not found' is a red herring.

 

I've already tried 'Regenerate Ribbon Metadata'; 'publishing' ad-nauseum, at the component, app, and solution level; clearing browser cache; etc.  Obviously, I'm missing some fundamental piece here.  Final notes: This is the DEV environment where the containing Solution is still unmanaged.  And I had initiated creation of the modern command by edting the app, and selecting 'Edit Command Bar'.

 

Screenshot below shows the Command Checker's assessment of the custom Command.  Any help is appreciated!. Thank you in advance!

 

LenC_0-1676412226689.png

 

Categories:
I have the same question (0)
  • EddieE Profile Picture
    4,641 Moderator on at

    @LenC 

    Whilst you may find help for your Model-Driven app question in this forum, I tend to find that better help for these MDA questions can be found in the DataVerse Forum, here

    https://powerusers.microsoft.com/t5/Microsoft-Dataverse/bd-p/CDS_Apps

  • seaseldiesel1 Profile Picture
    24 on at

    @LenC 

    This is also happening to me as well starting yesterday. Action works, visibility formula does not, and error messages on both. Probably affecting many others. Hopefully a fix will be out soon. Just wanted to let you know that you are not alone!

     

    In the meantime, I recreated my commands using Ribbon Workbench. It is not an ideal solution to have to recreate everything, but that option is always there.

  • Community Power Platform Member Profile Picture
    Microsoft Employee on at

    Similar issues on our environments. From yesterday "ALL" buttons became visible, regardless of their visible status. When clicking, we get error messages. 

    I think there is something very wrong with some updates that MS pushed over the weekend and the beginning of this week. 

  • Community Power Platform Member Profile Picture
    Microsoft Employee on at

    We are finding the same issue.  PowerFx is not working on the command bar for visible and we have this in multiple places.  I also tried a PowerFx action and it is erroring.  Looks like a bug from the new release

     

  • Community Power Platform Member Profile Picture
    Microsoft Employee on at

    Thought i was loosing my mind - glad i found this thread.  Same issue in our model driven apps

  • MachielVisser Profile Picture
    31 on at

    There is an active issue with PowerFX. It is being discussed in this thread: https://powerusers.microsoft.com/t5/Building-Power-Apps/Custom-command-bar-button-not-working/td-p/2016057

  • Len C Profile Picture
    379 on at

    @seaseldiesel1 Thanks, I needed the pat on the back ;-).

     

    I fell back to Ribbon Workbench last year after the same problem went undiagnosed (also reported on these forums). Thought it would be fixed by now. I always assume other developers are actually using these features...

     

    Trying to decide whether to roll-back to the Workbench, or enter the purgatory of a Support case.

  • Len C Profile Picture
    379 on at

    [Aside: Is anyone having trouble getting email responses to posts? I stopped getting them last year. When I first posted here, I verified that I "subscibed' to get emails about replies. Received none. Found everyone's helpful responses here due to leaving the browser tab open ...]

  • Len C Profile Picture
    379 on at

    Thanks, good idea. I think there is a Dynamics forum as well that I posted this same issue to a year ago...looking for the link.

  • Len C Profile Picture
    379 on at

    PS: I reported what seems to be the same issue 11 months ago:

     

    Re: Modern Command bar - Visibility not updating a... - Power Platform Community (microsoft.com)

     

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 Launch!

Jump in, show your community spirit, and win prizes!

Kudos to our 2025 Community Spotlight Honorees

Expanding mentorship, skilling, and AI innovation

Congratulations to the May Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Power Apps

#1
Valantis Profile Picture

Valantis 413

#2
WarrenBelz Profile Picture

WarrenBelz 355 Most Valuable Professional

#3
timl Profile Picture

timl 315 Super User 2026 Season 1

Last 30 days Overall leaderboard