Dear all,
I’m encountering a frustrating issue with Command Buttons visibility in Model-Driven Apps.
The command buttons that I have created using command bar editor are hidden when certain criteria are met, using Power FX formula for visibility and that works perfectly in the Developer environment. It also works as expected in two environments where I have imported the solution as managed. For example:


However, in two environments where I have imported the solution as unmanaged, the command buttons are always visible regardless of formula being correct and same as in original solution. I have also tried to put explicit false to Visible parameter (without formula) but the result is the same.


Note that when I click on any of the buttons they perform perfectly (they call proper JavaScript functions).
These are the things that I have tried until now:
- Creating new button, making it hidden (IsVisble = false) – same result
- Opening component library, checking if formulas are the same, refreshed data sources, making changes there and saving them.
- Regenerating Ribbon Metadata using Command Checker.
- Publish all customizations from classic Editor.
I would appreciate any idea how to solve this problem.
Regards,
Milos