Bhubaneswar, Odisha, India
+91-8328865778
support@softchief.com

Blog

Xrm.WebApi calls as synchronous in Dynamics 365/ Dataverse

By default Xrm.WebApi methods are asynchronous so you may get some issues in your script logic. SO how to make this synchronous? Change the code to use async and await keywords. The sample code given here. Hope this will help.

[Solved] File is in locked state SharePoint while working with power Automate

When you are working with File operation in SharePoint using Power Automate, you might get the FILE LOCK ERRORS. here I explained how to resolve. The below error you may get while moving file, deleting file etc. Resolution The resolution for this is to implement loop to check if the lock on the file is…
Read more

Conditions Branch in Business process Flow (BPF) for Dynamics 365

In Business Process Flow, you can add conditional checks to add more stages or bypass some stages as per business need. Lets take an example. While capturing loan information for a customer, it needs to be checked the loan amount if its greater than 300k then add more stage to capture more information in BPF.…
Read more

Use FetchXML in WEB API using Power Automate with HTTP action for Dataverse and Dynamics 365

In Business scenarios we sometimes require to use Fetch XML to read data from Dataverse or Dynamics 365 CE. In this post you will come to know how to use Fetch XML in HTTP action of Power Automate and call Dataverse or Dynamics 365 Web API end point. Follow below steps. Step 1: Prepare Fetch…
Read more

Pre-requisites to connect Dynamics 365 CE Dataverse Web API

To connect Dataverse and Dynamics 365 CE Web API from external Apps such as Power Automate, C#, JS etc. you need to collect some information with you. Follow the steps below. Step 1 – Register App in Azure Active Directory The first step is to create an App in Azure Active Directory and copy Client…
Read more

Expected polymorphic value canvas app

if you are getting this error in canvas app that means you are not assigning a correct polymorphic data type. Use the Power FX as given below screenshot Hope this helps. Create a lookup function and assign it.

Update multi-entity lookup using Patch function in Canvas APP with Dataverse

If you are looking for complete article how to perform CRUD operation for polymorphic lookup field value then read this article HERE. You can also use Patch function to send data from canvas app to Dataverse using Patch function from a FORM. use below powerfx. You can use a toggle button to decide what type…
Read more

Polymorphic lookup field Value CRUD operation from Canvas App with Dataverse

You might have used polymorphic lookup field which can hold reference of multiple tables like Customer Data Type which can hold contact or account. SO for this type of complex data types its is not straight forward to handle CRUD operation from canvas app. Let us see here how to Create a record in Dataverse…
Read more

Take action automatically after approval request timed out in power automate

here in this post you will come to know how to handle Time Out scenarios in Power Automate. Lets take a scenario. Once a loan record is created inside Dataverse you want to raise an approval for Branch Manager and The approval request must be taken action within 3 days else the loan request will…
Read more

Open Custom Page from Model driven app Main grid command and pass parameters

In business requirements you need to open custom page on clicking a command button on main grid by selecting one or multiple rows. This post will explain below points. How to Add Custom button on Main grid command bar Show command button if at least one row selected else hide Call JavaScript to open a…
Read more

Show hide command buttons based on table permission in Power apps model driven apps using Power FX

If you want to show hide command buttons as per table permission for a login user then follow below steps. In this example I want to hide the custom command button “Set as Competitor” for the users who has no edit permission on Account entity. So first you need to check the security role permission.…
Read more

Show hide command button based on Field value of the form using PowerFX in Dynamics 365 model driven apps

In these days we are using PowerFX in many of our Power Apps. You can use PowerFX for commanding purposes in model driven apps. In this post I will explain about “How to show/hide command buttons based on field value of the record”. Let say You have Account Form and You want to show a…
Read more

Return table from power automate to canvas app using response action

Sometimes you need to return tabular data from power automate to canvas app. This post explains how you can do that. Follow below steps. Here I am calling a third party WEB API and consume response in Power Automate and return result as JSON and bind to data table in canvas app. Watch the video…
Read more

Dynamics 365 CE CRM and Power Platform Complete Syllabus

Here is the Dynamics 365 CE CRM and Power Platform Complete Syllabus.

Power Automate Exception handling using Try Catch Finally

Most of the times when you design a Power Automate flow, you face run time errors due to data issue or environment issues. So this post will explain you how you can handle runtime errors in Power Automate. Follow the below steps to implement TRY CATCH FINALLY BLOCKS in Power Automate. Watch the video or…
Read more

Immersive business process flow in Power Platform configuration and concept

Immersive BPF can be run independently from Power Automate screen. It not required to embed inside model driven apps. Lets explore the steps how to create immersive BPF in power platform. Step 1 : Create a Immersive BPF from power automate portal Open flow website and select correct environment. Click on My flows option. The…
Read more

Change State of record using Plugin in Dynamics 365 CE

To Change record status of dynamics 365 records use below code. Update your code accordingly to suit your business need. Hope this helps.

Status Change Message Plugin Call in Dynamics 365

When you want to call a Plugin on Status change of a record in Dynamic 365 CE then you should use EntityMoniker. Check the code below and update it accordingly and use in your project. IMPORTANT NOTE While registering message in Plugin Registration tool, you have to add SetState and SetStateDynamicEntity messages . Hope this…
Read more

Learn PCF in Power Apps Step-by-Step with basics for beginners in Power Apps

PCF can provide enhanced user experience for the users to work with data on forms, views, and dashboards in Power Apps. For example, a basic ‘Number’ field can be rendered as a Slider control where user can slide to set the value rather than typing. You can learn more theories about PCF here https://docs.microsoft.com/en-us/power-apps/developer/component-framework/overview. But lets see…
Read more

(Solved) msbuild is not recognized as an internal or external command, operable program or batch file while working with PCF

When you run command msbuild you may face below error. ‘msbuild’ is not recognized as an internal or external command,operable program or batch file. Soution To solve this follow below steps. Step 1 – Go to properties of current machine This PC. Step 2 – click on Advanced system settings Step 3 – Click Environment…
Read more

(Solved) ERESOLVE unable to resolve dependency tree while installing a pacakge while working with PCF

While working with PCF you might install Fluent UI but you may face below issues. ERESOLVE unable to resolve dependency tree while installing a pacakge Solution To solve this follow below methods step by step. It means you have dependency conflicts. So try running the following options one by one. 1. Remove node_modules and package-lock.json and then run 2.…
Read more

(solved) Type ‘string | null’ is not assignable to type ‘string’ while working with PCF

While working with PCF you might get the below error. Type ‘string | null’ is not assignable to type ‘string’. Solution Make sure you have a default value for the value you’re trying to get. In this case, I had to default to empty string. Hope this helps.

(Solved) npm ERR! code E404 while working with Power Apps PCF

ERROR While working with command npm install you might be facing the 404 issues as given in below screenshot. Solution inside your PCF folder run the commands. STEP 1 : run below commands to solve this issue. npm config set registry http://registry.npmjs.org STEP 2 : run below command next npm -g install npm STEP 3…
Read more

Restrict/Cancel Save operation conditionally in JavaScript as per Async operations result in Dynamics 365

Sometimes you get requirements where you are doing some validation check in JavaScript by calling XRM.WebAPI or some Async operation and if validation failed, you want to restrict Save operation. If the call code is synchronous then there is no issues. But if the code is asynchronous, you need to take special care otherwise it…
Read more

LDM Learning Download Manager Error MCT

IF you find the error in downloading MCT files using LDM application follow these steps. Step 1 : Login LDM Portal Login to https://learningdownloadcenter.microsoft.com/ Click on FAQ link. Choose LDM and find How to enable the browser download experience? option and inside that click enable browser download experience option. Now you can download with out LDM.