Skip to main content

Notifications

Announcements

No record found.

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

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

December Spotlight Star - Muhammad Affan

Congratulations to a top community star!

Top 10 leaders for November!

Congratulations to our November super stars!

Tips for Writing Effective Verified Answers

Best practices for providing successful forum answers ✍️

Leaderboard

#1
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 291,391 Super User 2024 Season 2

#2
Martin Dráb Profile Picture

Martin Dráb 230,445 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,156

Leaderboard

Product updates

Dynamics 365 release plans