Skip to main content

Posts

Showing posts from May, 2019

How to add a button in D365 using Ribbon Workbench

We are going to add/create a custom button on an entity in D365 using ribbon workbench solution . Scenario: On click of a button, we are going to generate a GUID and update that value in a field. Prerequisites: 1. Ribbon Workbench solution (can be downloaded from the above URL) 2. Create a custom entity (in this post, we have created an entity called "Requests") 3. Create a solution and add the above entity to it 4. Create a web resource (JScript) to generate a GUID How To? 1. Log into D365, Go to SETTINGS -> Solutions -> Click on "RIBBON WORKBENCH 2016" 2. Select a solution from the available list ("My Solution" in our post) 3. Select the BUTTON on the left side ribbon. Drag and place it on the Main Form as shown in the below image 4. Click on the + button next to COMMANDS(1) as shown below and change the Id to "new.new_request.generatekey.Command". Changing the Id value is not mandatory, its just for our convenience a. Now click on "