Blog

model-driven

Command bar customization in model-driven apps

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 Assign, Delete, 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 command, dropdown, 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.

Contact Beringer Today!

We love to implement Microsoft Dynamics 365 and Power Platform solutions here at Beringer.  We’ve been working with Microsoft Dynamics since its inception, and we’re always finding innovative ways to implement the latest tools and help automate business processes.

Beringer Technology Group, a leading Microsoft Certified Partner specializing in Microsoft Dynamics 365 and CRM for Distribution also provides expert Managed IT Services, Backup and Disaster Recovery, Cloud Based Computing, Email Security Implementation and Training, Unified Communication Solutions, and Cybersecurity Risk Assessment.