Power FX Cheat Sheet for Commands in Model-Driven Apps

Fredrik Engseth
6 min readNov 5, 2022


This post covers different Power FX snippets for customizing Commands in Model-Driven Apps. Power FX is the new approach for creating logic and visibility rules on Commands in Model-Driven Apps instead of using JavaScript and RibbonWorkbench.

The examples are meant to be a look-up guide or a cheat sheet to have a place with…

Fredrik Engseth

Developer | Dynamics 365 | Power Platform | Azure | Personal development | Investments