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

Category: dataverse

HTML Web Resource – Add on Form as control and pass data from Form to HTML and back to Form

Here you will come to how to Add HTML web resource on Form as control and pass data from Form to HTML and back to Form. Step 1 : Create a HTML Web resource and add the web resource on Form use below code for HTMl Web resource Step 2 : Call form load script…
Read more

System Jobs in Dataverse/ Dynamics 365 Status Information

Here is a list of status information you can refer for better understanding System Jobs. In Dynamics 365, a system job refers to background processes or tasks that are executed by the system to perform various operations within the application. These jobs are typically initiated by the system itself or by users through configurations such…
Read more

Understanding Scope in Business Rule in Dynamics 365 or Dataverse

In Dynamics 365/ Dataverse, business rules are used to apply logic and automation to form fields and data within the system. The scope of a business rule refers to the extent to which the rule applies within the Dynamics 365 or Dataverse environment. There are three main aspects to consider regarding the scope of a…
Read more

When to use Classic Workflow & Power Automate in Dataverse & Power Apps

As a solution architect/developer, its very important to find out THE BEST Solution for a business requirement in the era of AI and less-code no-code. Here is a table which explain how to decide when to use classic workflow and power automate. Features Classic Workflow Modern Flow (Power Automate) License Part of Dataverse Feature Power…
Read more

Pass Parent form ID and sellected record ids from a subgrid command button in Model driven power apps

You can pass Parent form ID and sellected record ids from a subgrid command button in Model driven power apps Follow below method. Step 1 : Create a JS Step 2 : Add Command Button & Call JS with Parameter Now open the Model Driven App and Edit Command Bar. Select Subgrid command for Child…
Read more

Xrm WEBAPI Calls as Syncronous sample code using Promise

By default XRm WebAPI are asynchronous and to make this synchronous you can use below code structrure with using Promise. Hope this helps.

Difference between Model Driven App and Canvas App

Here is a list of diferences between Model Driven App and canvas App. Category Model-driven apps Canvas apps Data Source Dataverse only Dataverse + many others diversified cloud and on-premise data sources using connectors Design experience No-code component focused design Manipulation of control properties using Power Fx expressions UI control Limited, predominantly customization Full control…
Read more

Dynamics 365 Scenario Based Questions and Answers Part -1

Here You can download Dynamics 365 Scenario Based Questions and Answers Part -1. Hope this helps.

[Resolved] A duplicate column heading exists while downloading Template for data import

You may encounter the error while downloading Template for data import as A duplicate column heading exists. The root cause is that, your table has multiple columns with same Display Name. Solution: Navigate to your solution/ Default Solution. Open the table all columns and sort by A to Z. Then scroll down to check the…
Read more

Use namespaces in javascript power apps dataverse sample code

var InvestmentEntity = InvestmentEntity || {};InvestmentEntity.ROI = InvestmentEntity.ROI || {}; InvestmentEntity.ROI.AutoPupulateROI = function (executioncontext) {var FormContext = executioncontext.getFormContext(); } InvestmentEntity.ROI.ValidateAmount = function (executioncontext) {var FormContext = executioncontext.getFormContext();var amount = FormContext.getAttribute(“metro_amount”).getValue(); }

How to Free up storage space in Dataverse

You can delete notes, attachments, import history, and other data to free up storage space. Before you delete data, be sure that the data is no longer needed because you cannot retrieve deleted data. There is no “undo” to restore your data once it has been deleted. Follow below articles where the explanation given how…
Read more

[Resolved] Table/Entity not showing in PowerFX command button model driven app

If you are writing powerfx for your command button but not able to find the target entity in your powerfx intellisense then follow below video for solution.

XRM WebAPI Create new record using JavaScript in model driven app form command button

Here is a sample code which creates a child record from a command button on parent table form. This code is called from command button so you need to pass Primary Control parameter to javascript. Hope it works.

Send Email with from Dynamics 365/ Dataverse using Power Automate with Email Message & Activity Party

Dynamics 365 CE supports sending emails using server side synchronization. In this mechanism you can create an Email Message Record and Use a Bound Action to send the email message. Here No Outlook connector required to send email. Follow the steps below how to create the Flow: Step 1 – Create Trigger Open Power Automate…
Read more

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