PL 400 : Edit the command bar by using the Ribbon Workbench (Create a command button function)

This command bar presents all the navigational options for a specific entity. Navigation elements can provide some functionality to the entire group of records displayed. Creating or modifying command buttons in Dynamics CRM is always a challenge, with the developer usually using the Ribbon workbench(created by Scott Durow) for such activities. Modern Command Designer is a great initiative by Microsoft to reduce the complexity of this process and introduced the No/Low Code Designer where developers can define button behavior with Power Fx and JavaScript.

The Ribbon Workbench is a tool which is used for customizing the ribbon easier and quicker. It provides the user interface for the customize the ribbon button. The ribbon also attempts to scale to the available window width, making some less important commands smaller or even move them to drop down menus when the space is limited. 
Ribbon Workbench for CRM was written to provide a 'drag and drop' developer experience that allows all customization scenarios giving you full control over your CRM ribbon and command bar!

Installation the Ribbon Workbench

To install we will need to follow these steps:
  • Navigate to Settings → Solutions → Import
  • Download the Ribbon Workbench, and then select the downloaded solution file and following the instructions.
  • Once imported, we can click the ‘Ribbon Workbench’ button on the ribbon.
Create Solution for edit entity's button:
  • Navigate within Dynamics CRM to Settings → Solutions → New
  • Enter the name of the solutions (e.g. 'Contact') and click 'Save'.
  • Now select Components → Entities → Add Existing → existing entity
  • To add the Application Ribbon to the solution
    • Within your solution, select Components → Client Extensions → Add Existing → Application Ribbons



Important links:



Comments

Popular posts from this blog

PCF vs. Web Resources: Choosing the Right Extensibility Tool for Dataverse

Is Debt Prosperity or Trap?

Exam PL-400: Microsoft Power Platform Developer