Edit the Command Bar in Model-Driven Apps

Sending
User Review
0 (0 votes)

 

 

Until recently, Power Platform model-driven app developers were at the mercy of third-party tools, such as the popular Ribbon Workbench, to modify the command bar.  Microsoft has since provided developers with the ability to make certain changes to the command bar as part of the Power Apps base functionality.  We can select which command bar to edit (main grid, main form, etc.), the order in which the buttons appear, which app the command bar modifications should be included in, and even the actions we want to take with a custom-built button.

Accessing the command bar editor

To access the command bar editor, begin by opening your model-driven app in Power Apps.  From the navigation pane on the left, select a table, then select Edit command bar.  From here, you will be able to choose which command bar you want to edit before being taken to the editor.

Modifying the command bar

As of this writing, only some of the standard command bar buttons are able to be modified, such as AssignDelete, and Activate.  You can edit a button’s icon, its visibility, its position on the command bar, and even the action that is performed when clicked. You also have the ability to add a new button as either a commanddropdown, or split button.  The command button is the button type that actually performs an action, and one or more command buttons can be nested within the dropdown or split button buttons. You can use either Power Fx or JavaScript to control what happens when a button is clicked. (Click to read the full post on www.beringer.net)

 

The post Edit the Command Bar in Model-Driven Apps appeared first on CRM Software Blog | Dynamics 365.