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

Category: dataverse

Open HTML Web Resource and Pass Parameter using navigateTo Client API Power Apps

Here in this example you will learn how to open a HTML Web Resource and pass parameters tot web resource and use of navigateTo function. JS Code below. HTML Web Resource

Plugin Development Best Practices in Dynamics 365/ Dataverse/ Power Apps

While developing Plugins in Dynamics 365/Dataverse you have to follow some important Best Practices as explained by Microsoft. Here is a list of Best Practices. Hope this helps.

Set Current View in Subgrid

you can set a current view using JavaScript. use below code. The object type code for the SavedQuery (1039) or UserQuery (4230) that represents the view the user can select. Hope this helps.

[Resolved] Specified domain does not exist or cannot be contacted – Error in plugin while executing Batch ExecuteMultiple

When your plugin shows the below error you can find solution below. If Dynamics Online or Dataverse Online use this solution. Instead of using ExecuteMultiple, use Execute method. do not use batch processing. If Dynamics On-promise use this solution. Instead of using Isolation Mode as Isolation, use None as Isolation mode. do not use isolation.…
Read more

Retrieve Environment Variable’s ‘Current’ and ‘Default’ value using C# code in Dataverse

You can use environment variables to store temporary configurable values for a specific environment but if you want to read using C# code you can use the below code.

Auto Refresh Access Token with Web API request to Dataverse/ Dynamics CRM Web API C#

Auto Refresh Access Token with Web API request to Dataverse/ Dynamics CRM Web API C# . Read more in this article. hope this helps.

ER Diagram – Health Care Project (Medical Domain)

Here is a ER Diagram for the typical Health Care Project.

How to Debug Async Plugins in Dataverse for Power Apps

In this topic you will come to know How to Debug Async Plugins in Dataverse for Power Apps,. Check the below article to know more details Thanks to Rajeev for the explanation. Hope this helps.

[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

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

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.

Model Driven Apps v/s Canvas Apps

Features Model Driven Apps Canvas Apps Data Source Dataverse Can connect multiple data sources such as SharePoint, SQL Server etc. User Interface UI is restricted as per Form Design. Full control on Layout Design. No restrictions on Page designs. Responsive By default Responsive Need to configure the Responsiveness using special components. Search Functionality Out-of-the-box search…
Read more

Virtual Table for Integration in Dataverse Power Apps

In Power Apps, a virtual table is a type of table that is not physically stored in a data source, but rather created dynamically in memory. This allows you to manipulate and work with data that is not necessarily part of a specific data source, but can still be used in your app. In the…
Read more

How to decide when to use Dataverse Web API

Deciding when to use Dataverse Web API is very important to keep your code better quality. This post explains the same. The below image helps to decide.