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!