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

Category: Power Apps

Navigation Property for Lookup Field in Xrm.WebAPI Create – How to use

In this below blog, you will come to know how to use assign value to single lookup field and polymorphic lookup field while passing data in Xrm.WebAPI request in Javascript for Dataverse Power Apps Single Entity Lookup If you want to assign value of a lookup field which is associated with a single entity then…
Read more

ConfirmDialog in Power Apps using JavaScript

Using below code you can shoe a confirmation box using JavaScript which will display OK and Cancel Button. You can write your logic whn cancel button clicked and ok button clicked. Below code calls from On Save and restrict save operation if Cancel is clicked and OK button allowed to save the record. Pass executionContext…
Read more

OpenAlertDialog in JavaScript for Model Driven Power Apps – Display Pop-up Dilog

Using below code, you can open a dialog with dynamics values from the form in JavaScript in Model Driven App Power Apps Form. Watch video or scroll to read.

How to show a recommendation in Business Rule with demo

Introduction: In the dynamic landscape of Dynamics 365, the ability to guide users through data entry and decision-making is paramount. Business Rules in Dynamics 365 offer a versatile toolkit, and one often overlooked feature is the capability to show recommendations. In this blog post, we will explore how to leverage Business Rules to display recommendations…
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.

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

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

Preferred solution in Power Platform

Preferred solution will help you to automatically add your component changes to a specific solution selected as preferred. So that any solution or default solution you use to change component, those will be added in the preferred solution. Follow the process below to work with preferred solution Step 1 – Enable Preferred Solution option Feature…
Read more

Trigger onchange event of DateTime field in power pages /power portal using JQuery

Handling change event in jQuery for Date Time fields is not straight forward like normal text fields. Use following method to handle onchange. Hope this helps.

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 Field Error Notification using JavaScript by checking related parent entity record info in Dataverse Model driven app power apps

Sometimes you need to show error against form fields if some field value of parent record not met the required value. You can use below script and modify for your project. Hope this helps.

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.

Open quick create from on command button click model driven power apps code

to open quick create form on command button click use below code. watch video here. Open quick create form on command button click JS power apps hope it helps.

ER Diagram – Health Care Project (Medical Domain)

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

Form Validation to allow only Numbers or decimals in Power Pages Basic Form

To use form validation, to allow only numeric values in a field you can use Regular Expression in Form Metadata. Use below Regular Expression in Form Metadata. Now once you see live site you will see the result. Hope this helps.

Custom Workflow v/s Custom Action v/s Custom API Explanation

Custom Workflow v/s Custom Action v/s Custom API    Custom Workflow  Custom Action  Custom API  Private Scope  Not Applicable  No Support  Supported  API Type  Not Applicable  No Support – Always Action Supported – Function/Action  Code First Approach  Not Applicable  No Support  Supported  Data Types of parameters  More Data Types  Less Data Types  More Data Types  setup …
Read more

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.

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

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.