Skip to main content

Notifications

Microsoft Dynamics 365 | Integration, Dataverse...
Unanswered

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

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!

Community AMA December 12th

Join us as we continue to demystify the Dynamics 365 Contact Center

New! Quick response templatesâš¡

Save time with the new custom templates!

Leaderboard

#1
André Arnaud de Calavon Profile Picture

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

#2
Martin Dráb Profile Picture

Martin Dráb 229,963 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,156

Leaderboard

Product updates

Dynamics 365 release plans