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 :
Microsoft Dynamics 365 | Integration, Dataverse...
Unanswered

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

(0) ShareShare
ReportReport
Posted on by 149

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!

 pastedimage1676561880413v2.png

I have the same question (32)

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 > Microsoft Dynamics 365 | Integration, Dataverse, and general topics

#1
Martin Dráb Profile Picture

Martin Dráb 58 Most Valuable Professional

#2
#ManoVerse Profile Picture

#ManoVerse 42

#3
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 38 Super User 2025 Season 2

Last 30 days Overall leaderboard

Product updates

Dynamics 365 release plans