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

Author: Sanjaya Pradhan

Bind Lookup Field in Edit Form Canvas App Polymorphic lookup with Dataverse Customer Data type

Use following PowerFX. Use a Dropdown for Customer Data Type in custom card of the form. For the Drop Down in Items Property Use below formula to populate dynamic values. On Items property add below code. On Default property add below PowerFX to auto populate selected value from record. On Custom Card Update property use…
Read more

[Solved] Unhandled Exception: System.InvalidCastException: Unable to cast object of type ‘Microsoft.Xrm.Sdk.Entity’ to type ‘CrmSdk.PluginType’. during Install profiler

While Installing profiler for plugin registration tool sometimes you get below error. Unhandled Exception: System.InvalidCastException: Unable to cast object of type ‘Microsoft.Xrm.Sdk.Entity’ to type ‘CrmSdk.PluginType’. and when you click OK You will get Failed message. But when you closed the message and click the refresh button on top menu, you will see the profiler is…
Read more

Automate Deployment Solution using DevOps CI CD in Power Apps Step-by-step

In this post you will learn how you can Automate Solutions deployment from one environment to other using DevOps CI CD Pipeline using Power Platform Build Tools. Watch the video below for more details.

Debug Model Driven App using Monitor Tool

You can now debug model driven app using monitor tool. Watch the video to know more in practical. Hope this helps.

Send Email with Adaptive Card in Email Body and capture response with outlook actionable card using Power Automate

Here in this post you will know how to send an email with an adaptive card on email body and capture response with HTTP calls with Power Automate. Watch the video below. hope this helps.

Entity Privilege Rule in Display Rule for Command buttons with Ribbon Workbench

In this post you will know how to hide command buttons by checking if a login user is having correct access level on a specific entity with proper privilege. In the below tutorial I have taken loan entity and displayed the demo. Watch the video.

Business Rule Execution Order in Dataverse Power Apps

As you know, You can create multiple Business Rules on same entity or table, its important to understand how the business rules are executing in order. Normally the Business Rules executes in order depending on the modified on field value. To check this, Navigate to advanced Find and do the query for Processes table and…
Read more

Send Approvals with Attachment from File Datatype Column from Dataverse

Follow the below video to know how to send Send Approvals with Attachment from File Datatype Column from Dataverse.

Set Default Value v/s Set Field Value in Business Rule in Dataverse Power Apps Dynamics 365

Here I have explained Set Default Value v/s Set Field Value in Business Rule in Dataverse Power Apps Dynamics 365. watch the video below.

Hide show command button using JavaScript in power apps

use below code in Enable Rule.

Pass Form Context from Form to HTML web resource ;in model driven power apps dataverse

Follow below steps. step 1 – Pass context from Form to Web Resource using Form on load on Form on load call the below method. make sure to use correct web resource name. Step 2 – Edit HTML Web resource to read the form context you can now use script to read context and declare…
Read more

open dashboard on command click dataverse power apps

to open dashboard on command button click use below code.

Open Child Form from parent form and prepopulate field in form javascript dataverse power apps

you can open a child table form and prepopulate field in child from parent record, use the below code. Here I am opening student enrollment form in create mode with prepopulate student lookup and other details.

Open record as popup dialog on command button click using JavaScript DataVerse power apps

To Open record as popup dialog on command button click using JavaScript DataVerse power apps use below code.

Open Entity List view as popup dialog in power apps DataVerse using JavaScript

If you want Open Entity List view as popup dialog in power apps data verse using JavaScript using command button then use below code. Here I am opening student view as popup.

Automatically open lookup search screen using Xrm.Utility.lookupobject and assign selected value to lookup field in Power Apps

Automatically open lookup search screen using Xrm.Utility.lookupobject and assign selected value to lookup field in Power Apps hope it helps.

Set Lookup field using Xrm.WebAPI Javascript in dataverse power apps

When you call Create or Update methods using Xrm.WebAPI client objects, you need to take special care while setting value of lookup fields. Follow below method to do this. Step 1 – Identify Navigation Property Name of the Lookup Column Open the METADATA url and search the column. The metadata url is like this https://devboxsoftchief.crm8.dynamics.com/api/data/v9.2/$metadata…
Read more

Parallel wait in workflow for dynamics 365 power apps

you can use parallel wait for multiple business use cases. below video explains in details.

Use Record URL in Email using Workflow Dynamics 365/ Power Apps

You can Use Record URL in Email using Workflow Dynamics 365/ Power Apps so that User can click the link to open the record directly. In workflow, open send email property and in the body select a location and click Insert Hyperlink. In pop up window mention the link title and in URL add dynamic…
Read more

How users can own records from multiple business units in Dataverse

In the below video, I will demonstrate how you can assign security roles to an user from multiple business units.

Filter record using Lookup Field Power Automate Dataverse

When you are using LIST ROWS action in DataVerse connector and want to filter records using Lookup Field then use following way. If your lookup logical name is fbs_student then in filter use _fbs_student_value eq ‘<Dynamic value>’ Hope it helps.

Auto Populate Lookup Field in Power Page/Power Portal

Step1 – Create JSON Web Template to get Server Data First create a Web Template with JSON response type and get all required server data using Liquid code. Sample code given below. Step2 – Create a Page Template and call the Web Template Create a new Page Template and use the created Web Template without…
Read more

[Resolved] Time zone issues in date time field with Power Automate

Learn how to handle time zone issues in date time fields with Power Automate.

Different in hours between two date time fields in Power Automate

Different in hours between two date time fields in Power Automate. Use below Expression. div(sub(ticks(body(‘Convert_time_zone_2’)),ticks(body(‘Convert_time_zone’))),36000000000)

Change style using CSS of Entity List in Power Pages or Power Portal

You can use below CSS to change styles of an Entity List. Put the below code in the Web Template of the Web Page where you have placed the Entity List. Here We have added Padding, Border, Border-Radius for the Entity List. To know the exact html tag rendering of entity list, use Browser Developer…
Read more