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…
How to get your code back – Recover a dropped stash in Git
Have you dropped all of your code by mistake? The code was not checked in? Have you lost it forever? There is a way to get it back! I have added two new classes inside of my projects (These have…
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…
PCF – Alerts Display
I created this PCF to allow users to configure and see a list of alerts in one area. The PCF can retrieve related information up to two tables deep and also change and update the colours of each individual alert.…
Resco CRM – Nested Reapters using the same entity
I had a requirement to display a list of Services and Products onto a Quote report. But list all the services on top of each product within the report. This means that I will need two Repeaters which displays a…
Field Service Technician Service Reporting Development Guide
Microsoft have documentation covering their service reporting functionality – Field Service technician service reporting | Microsoft Docs. You will first need to download the reporting solution provided by Microsoft and install it into your environment. Next you will need to…