
In Dynamics 365 CRM, at times we must show respective tabs based on some values of controls which were kept on form. Tabs can be shown or hidden based on the form context object. As an example, in contact form, if at all vaccination was completed then only Vaccination details tab will be shown to the user otherwise it will be hidden.

Number Formatting during few scenarios is required based on the customer requirement. In Power Automate, this can be achieved with Format Number Action. As an example, numeric value ,currency , Mobile numbers were shown using Format Number Action.

In Power Automate, we must consider about performance related things while working on apply to each action. During most of the scenarios concurrency control option present in apply to each action will come for rescue to process records faster pace with the usage of 50 parallel threads rather than 1 by 1 to process all the collection of records those are present in apply to each. As an example on list action on contacts that is present in Dataverse along with apply to each loop was used to explain this behavior.

In Dynamics 365 CRM to show Progress Indicator, we have client API’s that are available under Xrm.Utility so that the user can know what is happening and can wait without performing any other operation. As an example, in contact record if at all mandatory field title was not filled then progress Indicator will be shown with message validation is going on.

In Power Automate, at times we need to write expressions manually, a quick way of doing is by using Peek code functionality that is present in every action in Power Automate . Especially this Peek code comes for rescue, when ever we are trying to work on actions like Lists, lookup values, Flow trigger conditions Peek code will be useful.

In Power Platform, at times we must take care of the number of flow runs per day based on API Limits so that we can run the flow only when it is needed. In Power automate this can be taken care by using Flow trigger condition available on trigger point of the flow.To explain this a basic automated flow was taken where on modification of any contact record if at all discount is equal to 50 then only I want my flow to run in all other cases flow should not be run.

In Dynamics 365 CRM to show notifications beside CRM Field clearly on which field error occurred rather than showing all errors at the top of the CRM Forms, web resources of type JavaScript was used to build this. As an example, contact form and contact entity record used to show error notifications beside title field using set Notification if at all title was not mentioned on the contact form then error notification will be shown.

In Power Platform, at times we must compare values to identify whether the given number is less or not. In Power Automate, Less Function can be used quickly to find out whether the given integer/float is less or not by comparing with a number.

In Power Platform, at times we must compare values to identify the minimum number. In Power Automate, min Function can be used quickly to find out min value in the given set of integers /Array .

In Dynamics 365 CRM to clear form notifications, web resources of type JavaScript was used. Form context ui related client api reference can be used. As an example, contact form and contact entity record used to set clear form notifications using clearFormNotification if at all title was mentioned on the contact form.

At times we tend to miss important updates especially some reminders, here in order to handle these kinds of things Scheduled cloud flows comes for rescue in Power Automate. As a real time scenario, we tend to forget to take break of 5 min for every hour while working with computers/ Laptops in this example I will try to explain this with Scheduled Cloud Flow.

In Power Platform, at times we must omit the spaces that are present inside a string. To achieve this functionality Trim function in Power Automate can be used. As an example, String variable name was used to explain Trim functionality.

Learn how to use a JavaScript web resource and formContext.ui.setFormNotification to display information, warning, and error notifications on Dynamics 365 CRM forms.

Learn how to use the Length function in Power Automate to count characters in strings and elements in arrays using Compose actions.

In Power Platform, at times we must verify whether the given json object or string or array have empty value or not. In Power Automate, Empty Function can be used quickly to find out whether empty value present or not.

In Dynamics 365 CRM to perform customizations, web resources of type JavaScript was widely used. To set different attributes that are present in CRM Form, form context client api reference can be used. As an example, contact form and contact entity record used to set different attributes using form context.

In Power Platform, at times we must take common values present in Arrays or objects. In these scenarios, Intersection function in Power Automate can be used. As an example, Names Array and Names Object and Actual Names Array,Actual Names Objects were used to explain this behaviour.

In Power Platform, at times we must combine couple of Arrays or objects. In these scenarios, Union function in Power Automate can be used. As an example, Names String Array and Vehicles String Array were used to explain this behaviour.

Learn how to use the Dynamics 365 formContext Client API in JavaScript web resources to read text, date, choice, lookup, and other CRM form field values.

Learn how to use the Take function in Power Automate to retrieve a specified number of elements from an array or characters from a string.

In few scenarios when working on List of records for a given entity, we must provide paging to perform certain operations. In order to achieve this, we use different actions in Dataverse and power automate like do until, List Rows, Scope, Initialize, Increment and Set Variables . As an example for contacts entity with the help of changing page number dynamically with logic we can achieve this functionality.

Learn how to add a JavaScript web resource to a Dynamics CRM form library and register it for the form OnLoad event using the classic UI.

In few scenarios when working on List of records for a given entity it is needed to find out the count of total records present in that table to perform certain manipulations. Here length function in power automate can be used to get record count for a given list. As an example, contact table was considered.

In certain scenarios we must bundle multiple operations together so that all should pass or fail, in any case if one of the operations fails then all the other operations gets roll backed to make atomic operations. To achieve this functionality in Power Automate we can use ChangeSet Request Action , as a business scenario operations on Contact and Task tables were considered .

In Dynamics 365 CRM, post creation of a web resource, to use it in CRM Form for a selected entity then we must add web resource into Form Libraries present at form level and then tie it to Event Handlers for a selected Event on Main Form. As an example, in Contact Customizations Solution for Contact Entity Main Form a web resource will be added to perform customizations on Contact Record.
DevSocialUpcoming · 3rd editionAI Agents ConferenceDec 1–3, 2026Live onlineFree to attend4days leftRegisterMembers onlyWrite an article and earn +1,000 SHARP when it is approved.
Write an article