We intended to open a specific Product form, distinct from the default one, when clicking a view button. Since using a ‘Select Form’ rule was not viable, we opted for the following code solution. When employing the ‘FormManager.showEditDialog’ function, we…
Tag: CRM
How to retrieve the record Id of the parent form using (Form Component Control)
We were initially tasked with displaying a list of Work Order Incidents that are associated with the Resource Requirement, which, in turn, is linked to the current Booking record. To fulfil this requirement, we utilized the Form Component Control feature…
Resco CRM – Plug-in Assembly example
I recommend reading the Resco documentation on plugin assemblies here to ensure proper project setup before coding. In Resco CRM, you must create a new process and call it within the process to activate a plugin. See the example below:…
How to Automatically Populate Values on an Inspection in Field Service
To prepopulate questions on an inspection, you should begin by adding the Inspection Response Id field onto the Work Order Service Task form. This field can be hidden or displayed, as needed, but it must be included on the form.…
How to lock fields on a Form and Business Process Flow
Lock Business Process Flow fields only The function below locks all fields which contains the word “header_process_” this ensures that only fields that are in the Business Process Flow are locked and not on the form. Lock form fields only…
How to use Remote Debugging for Field Service Mobile
Field Service Mobile now has remote debugging! This means you can now debug any errors occurring inside of the app. This is very useful for debugging annoying JavaScript errors or anything else where you have no idea why something isn’t…
How to force a confirmation dialog to appear before record save in Dynamics 365
Below is an example of working code which displays a confirmation dialog before the save of a new record, if the user presses ‘OK’ then the record will save or if the user presses ‘Cancel’ then the record will not…
Examples of using await in Dynamics 365 JavaScript
Below are just some examples of using await inside of JavaScript for Dynamics 365. I know that there are many ways of achieving this but these are just some examples which I have used in the past which work very…
Azure DevOps Pipelines – How to enable Cloud Flows using PowerShell
The below example will demonstrate how to enable cloud flows in Dynamics 365 after a solution deployment using Azure DevOps Pipelines and Releases. I will be using an Application User for authentication. You will need to add the PowerShell script…
Resco CRM – How to use InvokeWebRequest in a Process
In my example I am trying to send a SMS message to a mobile number using Resco’s InvokeWebRequest. There are 4 parts to constructing the ‘InvokeWebRequest’ function. Method – To send a data to an API server. We will need…