Command designer with Power Fx: goodbye ribbon XML (eventually)
Microsoft has previewed a command designer for model-driven apps, with Power Fx for button visibility and actions. Why it matters and why I would not rush it into production.

Anyone who has built model-driven apps for long enough has a ribbon story. Usually it involves Ribbon Workbench, a few hours of trial and error, and a button that refuses to appear for one security role. So yesterday’s (28 July) announcement from the Power Apps team got my attention: a command designer for model-driven apps, with Power Fx, in preview.
Microsoft describes it as a complete re-imagination of commanding (formerly known as the ribbon), built on new infrastructure that works for both model-driven and canvas technologies. It is part of the wider convergence of canvas and model-driven apps announced alongside custom pages.
What was announced
From the Power Apps blog post:
- A command designer to customise command bars in model-driven apps without code.
- Power Fx for both visibility and action logic on commands. JavaScript is still supported for more advanced logic, and existing JavaScript can continue to be used as is.
- Commands can open a custom page as a dialog, and you can trigger cloud flows from a button on the custom page.
- Better ALM support, standardised localisation and presence in the solution interface.
- App-level control: modern commands are applied to individual apps.
- A simple, flat data model.
- Classic and modern commands can run side by side, with no forced migration, and modern commands can be arranged among existing classic ones.
The docs show four command bar locations you can edit: main grid, main form, subgrid view and associated view.

What it means for organisations
Power Fx lowers the bar for makers
The real shift is the formula language. Showing a button only when a record is in a certain status, or patching a field when a button is clicked, is the kind of thing canvas makers already do in Power Fx every day. Bringing the same language to model-driven commands means fewer requests landing on a pro developer’s desk for small changes.

App-level commands change the design conversation
Classic ribbon customisations are defined against the table, so unless you add rules to hide it, a button added for one app tends to appear everywhere the table is used. Applying modern commands per app is a much better fit for organisations with several model-driven apps on the same Dataverse tables. It also means app owners need to agree who owns commands for shared tables.
ALM looks cleaner
Commands appearing properly in solutions, with a flat data model, should make them easier to review and deploy than ribbon diff XML. I want to see how this behaves across layered managed solutions before I celebrate, but the direction is right.

Caveats, and there are a few
Microsoft is open about this. The blog says these are preview features, that the new infrastructure does not yet support many things you may want to do, and that it does not have full parity with classic commanding. It also notes that features may not be available in your region yet.
So I would not rewrite a production app’s ribbon today. Classic commands remain supported, and there is no forced migration, which takes the pressure off. Preview features also are not meant for production use, and they can change before general availability.


