Before delving into the main topic of configuring modern commanding within the context of the PL-200 Microsoft Power Platform Functional Consultant Exam, it’s crucial to briefly touch on some foundational knowledge. Modern commanding in Microsoft Power Apps refers to the ability to add, group, and order controls such as buttons or dropdown menus.

Now, let’s head straight into how to appropriately configure modern commanding in the Dynamics 365 environment using the Microsoft Power Apps platform.

Table of Contents

Configuring Command Buttons

1. Accessing the command bar editor: To access this, navigate to Power Apps by visiting `make.powerapps.com` and then choose the relevant environment and the app you want to configure commands for. Once inside the app, navigate to `App settings > Site map > Client extension`.

2. Adding command buttons: Once you’re inside the Command bar editor, hit the `+Add` button on the Command Bar tab to uncover three options: button, menu, and group.

3. Use of button: A button triggers a command in the Power Apps system when clicked by the user, such as to Save a document or Refresh the page.

4. Use of menu: The menu often groups related buttons in a dropdown menu format.

5. Use of group: The group offers an additional level of grouping where you can combine various menus or buttons under a single group heading.

Below is a representation of how command buttons can be grouped in Power Apps:

Element Description
Button Triggers a command
Menu Groups buttons
Group Groups menus

Setting up Commands

To set up an adequate command, you need to follow the following steps:

1. Give command a name: When setting the name for a command, remember that it must be unique throughout the app.

2. Set up rules: Rules can be established for enabling and displaying command buttons.

3. Call an action: After defining conditions and the name, the desired action is called when a button is clicked by the user.

Here is an example of a set rule and called action in Power Apps:












In this code snippet, the command `new.SaveExample` has two display rules and one enable rule. The action calls a JavaScript Function `saveExample` when the conditions are met.

Key Takeaways

In configuring modern commanding for the PL-200 Microsoft Power Platform Functional Consultant Exam, you should understand how to use diverse controls like buttons, menus and groups to trigger various commands based on the configured rules in Microsoft Power Apps. The configuration process is straightforward in allowing functional consultants to build apps that enable businesses to automate their operations and make decisions driven by data.

This post only scratches the surface of what is possible with Modern Commanding in Microsoft Power Apps, and a deeper understanding will come with practical use and experience.

Practice Test

True or false: Power Apps interface is based on PowerShell commands for configuration.

  • True
  • False

Answer: False.

Explanation: Power Apps interface uses its own graphical user interface for configurations, and PowerShell might be used for complex administrative tasks but not for general app configurations.

Which of the following are functions or processes that we can configure using modern commanding?

  • a) Ribbon commands
  • b) Dialog commands
  • c) Command bar
  • d) Formated data

Answer: a, c.

Explanation: Ribbon or command bar is a common area where you can configure buttons or commands that perform actions in a view or form. Dialog commands are not commands but screen pop-ups asking for user input.

True or False: A command checker is a browser developer tool extension for the Power Platform model-driven apps.

  • True
  • False

Answer: True.

Explanation: The Command checker is indeed used to troubleshoot issues in command bar buttons for the model-driven apps in Power Platform.

True or False: Command core type ‘Action’ indicates a built-in command.

  • True
  • False

Answer: False.

Explanation: ‘Action’ is not a built-in command but a custom operation that you can configure in Microsoft Dataverse.

What is the function of ‘Enable Rules’ in command properties?

  • a) Decides visibility of command
  • b) Request user input
  • c) Performs a command
  • d) Decides the look of command

Answer: a.

Explanation: The function of Enable Rules is to determine if a command is applicable or a command button is enabled in the user interface.

Which of these are examples of standard rule types?

  • a) Value Rule
  • b) Page Rule
  • c) Form Rule
  • d) Privilege Rule

Answer: a, d.

Explanation: Value Rule and Privilege Rule are two types of standard rule types. There is no specific rule called Page Rule or Form Rule.

True or False: Command UI is defined in a ribbon diff XML.

  • True
  • False

Answer: True.

Explanation: Command UI is indeed defined in a Ribbon diff XML.

What are event handlers mainly used for in command buttons?

  • a) To trigger an action
  • b) To create a command
  • c) To define command UI
  • d) To integrate with other apps

Answer: a.

Explanation: Event handlers act as JavaScript web resources that are attached to command buttons to trigger actions.

For configuring modern commanding, the Ribbon Workbench tool is needed. True or false?

  • True
  • False

Answer: True.

Explanation: Ribbon Workbench is indeed one of the essential tools for configuring modern commanding in Microsoft Power Platform.

In command properties, what does the ‘IsCore’ field signify?

  • a) It indicates command is system-defined by Microsoft.
  • b) It indicates command is enabled or disabled.
  • c) It indicates command modified by the user.
  • d) It indicates a linked entity.

Answer: a.

Explanation: The ‘IsCore’ field indicates whether a command is system-defined by Microsoft.

Interview Questions

What is modern commanding in Microsoft Power Platform?

Modern commanding in Microsoft Power Platform refers to configuring commands and user access control. These commands determine user access, functionality, and operations that are conducted within the platform.

What is the purpose of Ribbon Workbench in modern commanding?

Ribbon Workbench is a tool used in modern commanding for customizing the command bar and ribbon in Microsoft Power Platform. It allows you to create, modify, enable or hide the buttons displayed in the command bar.

How can you show or hide a button in modern commanding?

You can show or hide a button in modern commanding by using display rules within the Ribbon Workbench. They allow you to control visibility based on certain conditions or rules.

What component of Ribbon Workbench would you use to create a new button?

To create a new button in Ribbon Workbench, you would use the Button component in the command designer.

What is the function of a command in Ribbon Workbench?

A command defines what will happen when a button or link is clicked. It binds the action, enables and display rules together for the button.

What are display rules in Ribbon Workbench?

Display rules govern the visibility of controls in Ribbon Workbench. They can be used to hide or show specific buttons based on certain conditions.

What are Enable Rules in Ribbon Workbench?

Enable Rules in the Ribbon Workbench are used to set conditions under which a button can be enabled or disabled.

How do actions in Ribbon Workbench contribute to modern commanding?

Actions define what will happen when the command is executed. They can include javascript functions, opening a URL and other operations.

How would you define entities in the scope of modern commanding?

Entities in the scope of modern commanding determine where the command applies. It can be on a specific entity or on all entities in the system.

Can two buttons have the same command in Ribbon Workbench?

Yes, two or more buttons can share the same command in Ribbon Workbench. Changes to a command will affect all buttons that use the command.

What is the purpose of the ‘Template Alias’ in Ribbon Workbench?

The ‘Template Alias’ in Ribbon Workbench defines where in the ribbon the control will be placed.

How can you export solutions in Ribbon Workbench?

You can export solutions in Ribbon Workbench by clicking on the ‘Solution Actions’ and then ‘Export Solution’.

Can you undo changes to a command once they have been published in Ribbon Workbench?

Yes, you can undo changes as Ribbon Workbench provides ‘Publish’ and ‘Unpublish’ actions. You can unpublish changes to revert them.

What is a flyout anchor in Ribbon Workbench?

A flyout anchor is a type of button in Ribbon Workbench that creates a menu when selected.

Can you create custom icons in Ribbon Workbench?

Yes, you can create custom icons for buttons in Ribbon Workbench. The icons can be made to match your specific branding or design requirements.

Leave a Reply

Your email address will not be published. Required fields are marked *