Tag: Dynamics 365
-
Dynamics 365 – Hide/Disable/Edit Business Process Flow Fields using JavaScript
In Dynamics 365, Business Process Flow attributes are just like Form attributes. You can use most of the controls in the same way as you normally do for Form attributes. Let’s look at the most common ones together. Get Business Process Flow attribute control using Javascript To get attributes Add…
-
Dynamics 365 – Call Power Automate Flow from JavaScript
In this post I will show the steps to call Cloud(Power Automate) flow from Javascript. I will send a JSON request body to my flow and get a JSON response body back. We will do that in 3 simple steps. Let’s start. Step 1 – Create a Power Automate Flow…
-
Dynamics 365 – Switch Forms Dynamically by Using JavaScript | formselector
In CRM it is common that showing different forms to different user gropus. There might be some conditions that you check to switch and show different forms to users. For cases like these, formSelector() and navigate() functions save the day. formselector.items collection: A list of all the forms accessible to the…
-
Dynamics 365 – How to Show/Hide Sections and Form tabs
Just like attributes, tabs and sections are also controllers of the forms in Dynamics 365. You can apply same logic to show and hide those controls by using Javascript. For the tabs; you need to know unique name of the tab you are going to show/hide.For the sections, you need…
-
Dynamics 365 – Share-Unshare Records with Plugin or Custom Workflow Activity by using C#
In Dynamics 365, access privileges to records can be dynamically changed using Plugins or Workflows. This allows for sharing records with specific users or teams, depending on scenarios such as creating a new record or changing field values. This approach avoids the need to assign higher security roles and enables…
-
Dynamics 365 – Different Ways of Showing Form Level Error Messages – setFormNotification | setIsValid
Form notifications are useful when you want to prevent the user saving the form if the form fields do not meet the conditions. Say you have 2 date fields called “Start Date” and “End Date”. You want the records can only be saved if the “End Date” is bigger than…