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…
Tag: JavaScript
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…
How Dynamic’s reacts to multiple instances of the same field on a form.
I noticed that Dynamic’s has a particular way of handling multiple instances of the same field on a form. I have added three instances of the description field on the Account form. If you add the same field on a…
Loop through selected records in a Multi-Select view custom command with Resco Mobile CRM
You cannot create a form rule for your custom Multi-Select command which means that you will need to add some Offline HTML to execute your custom rule. To apply your custom rule you will need to add a new command…
Generating a mobile report and attaching it to an email using JavaScript in Resco Mobile CRM
In this post I will show an example of how to execute a mobile report and sending it within an email using javascript in Resco CRM. I had a requirement to provide a way of quickly creating an email with…
Open Google Maps or Waze from Resco Mobile CRM
Field Agents who frequently travel will most likely be comfortable with using well known and familiar applications to set their journey directions, such as Google Maps or Waze. Below is code which is triggered from a command. In this case…
Reading field values in a view from a related entity using JavaScript
If you want to get access to the fields within a view, you will use this solution here: https://docs.microsoft.com/en-us/dynamics365/customer-engagement/customize/display-custom-icons-instead This will give you access to the fields within your view. But its not exactly clear on how to read fields…
Open and prepopulate fields onto a new form using JavaScript in Resco Mobile CRM
The only way to achieve opening of a new form is to write some JavaScript using JSBridge. I would assume already that you know how to add commands and OfflineHTML within Woodford. Below is an example of creating a…
Field Service – Another Booking Rule example
Below is another example of a Booking Rule as well as an interesting find. This new Booking rule fetches the Characteristics from both the Resource and the Work Order and compares them to see if the Resource is valid to…