CRM Crate

Dynamics 365 | Power Fx command button for Model-Driven apps

Here we will understand the Power Fx command for Model-Driven apps. Before we start, make sure to subscribe to CRM Crate so that you stay up-to-date in the field of Microsoft Dynamics 365 CRM.

Microsoft’s Model-Driven commanding

Microsoft has announced that the makers can create their own commands using Power Fx and the familiar Excel formula bar.  This will definitely result in the lower the bar to expressing logic for developers as they no longer need to learn and debug asynchronous JavaScript code. 

Command Designer in Model-Driven app

In the below given animation, the new command fx designer is being used to create a new command which will add a new related Task record to the current Account record.  The designer includes the Power Fx formula bar accompanied with IntelliSense and error reporting.  As with buttons in canvas apps, the OnSelect formula is being edited to include a Patch function call to create the record.

Microsoft has announced that the Power Fx Command bar will get rolled out after June 2021 (Region specific rollout).

Benefits of Power Fx command

  1. Low Code / No Code approach for customizing the Model-Drive app’s command bar.
  2. Elimination of 3rd party tools for customizing the command bar.
  3. Utilization for FX formulas which are more likely similar to the excel driven formulas.

As a conclusion, the new Power Fx command feature will speed up the product development and give a low code approach for customizing the ribbon buttons in the Model-Driven apps.

5 1 vote
Article Rating
Notify of
Newest Most Voted
Inline Feedbacks
View all comments
Rajesh Shirsagar
2 years ago

Great feature! When will it get rolled out?

Top 8 popular tools for Power Apps / Dynamics 365 - CRM Crate
1 year ago

[…] This tool is used to customize the Dynamics 365/PowerApps Ribbon/Command Bar from inside the XrmToolBox. Note that Microsoft has now introduced command customizer feature which directly allows the makers to customize the command bar within the Power App studio. Click on the given link to learn more about Power FX Commands –…. […]

Hide / Show command buttons in Model Driven App using Power FX formula - CRM Crate
1 year ago

[…] Click here to learn more about Model – Driven Commanding […]

error: CRM Crate Security Engine - Disabled Right Click & Selection!


Well Done,
Welcome to CRM Crate

Stay tuned with us and get all latest updates and learning in Microsoft CRM and related techonologes.