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

Category: Power Apps

How to restore Deleted Records from Dataverse using Recycle Bin Feature

If by mistakenly you deleted some records from Dataverse, its very difficult to restore if realtime back up is not in place. Microsoft introduced a feature called Recycle Bin, which gives a flexibility to hold deleted records from dataverse max 30 days and users can restore all deleted or selected records into Dataverse. Watch the…
Read more

PCF Control – Develop a React Rating Control for your Power Apps

In this blog you will understand how to develop a React component to render a Rating control for your power apps. Follow these steps to learn: Watch the video below to learn step by step or scroll down to read the article. Get the source code from here. https://github.com/softchief/PCFControlsReactRating Step 1: Inititate Project Scenario: In…
Read more

Generate Word Template Automatically from Dataverse Record in Power Automate and Send as an attachment in email outlook

In this blog you will learn how to Generate Word Template Automatically from Dataverse Record in Power Automate and Send as an attachment in email outlook. Watch the video below or scroll down to read the steps. Problem Statement How to download Word Template automatically without manually downloading the template by user and send the…
Read more

How to Use the Configuration Migration Tool in Dataverse: A Step-by-Step Guide

The Configuration Migration Tool in Dataverse (previously known as Dynamics 365 CE) is an essential utility for exporting and importing configuration data. It’s highly useful for moving data such as metadata, customizations, and configurations between environments. Here’s how to use it effectively: You can watch the video or scroll down to read the article. Step…
Read more

Configuration Migration Tool Download – Using PowerShell for Power Platform/ Dynamics 365

The Configuration Migration Tool (CMT) is a part of the Dynamics 365 SDK, used to move configuration data between environments. You can download and use the tool via PowerShell for automating tasks in Dynamics 365, like transferring data or configurations. Get more info about this tool here https://learn.microsoft.com/en-us/power-platform/admin/manage-configuration-data Open PowerShell and use below script Now…
Read more

How to Run a Flow on a Selected Record from a Model-Driven App and Pass Custom Parameters

Model-driven apps in Dynamics 365 offer a robust way to build applications that rely on your data model. One powerful feature that can greatly enhance your app’s functionality is the ability to run a Power Automate flow directly on a selected record within the app. This is particularly useful for automating tasks or processes that…
Read more

Show/Hide Command Button depending on current user security Role Code Snippet without network call request

Here is a code snippet by which you can show/hide command buttons by checking Current user Security Role in background or Async way. This way it is now free to interact with the page while the request is performing background job getting data.  No more freezing of the user interface while the page is loading! The…
Read more

Sample Synchronus & Asynchronous Codes For Dataverse Model Driven App to Enable/Disable Command Bar Button in Model Driven App Power Apps

Lets take a scenario on Command Button Enable Rule. Here is a Synchronus code. Here is the Asynchronus relevant code for above using Promises. before using this make sure to enablke the feature for your Model driven app for Async OnSave, Async OnLoad. Here we ae wrapping the request handlers in a Promise and resolving…
Read more

Async OnLoad and Async OnSave Feature Walkthrough with Demo in Model Driven App Power Apps Dataverse

In the ever-evolving world of web development, optimizing performance is crucial. One key strategy to achieve this is transitioning from synchronous to asynchronous requests in your model-driven applications. This approach not only enhances responsiveness but also provides a smoother user experience. In this blog, we’ll explore why this transition is beneficial and provide a practical…
Read more

Mobile Offline Access Model Driven Apps – practical Configuration

Creating offline access for Model-Driven Apps in Power Apps is essential for ensuring your users can continue their work even when they are not connected to the internet. Here’s a practical guide on configuring your Model-Driven Apps for offline use: Watch the below video or scroll to read the article. Step-by-Step Guide to Configure Offline…
Read more

Commonly used PowerFX Functions in Custom Pages Power Platform

Introduction Power Fx is a versatile formula language used in Power Apps, enabling the creation of dynamic and interactive user experiences. This guide covers commonly used Power Fx functions tailored for custom pages within Power Apps. 1. Text Functions Text Converts a value to text. Text(123.45) Concat Concatenates a table of text values into a…
Read more

Commonly used Power Fx Functions for Model-Driven Apps

In Model-Driven Apps, Power Fx is less prominent compared to Canvas Apps, as much of the logic is handled by the data model and business rules. However, when used, it often involves similar functions: There are two areas in model driven app where you can use PowerFX. One area is in Command button action and…
Read more

20 Most commonly used JavaScript Scenarios with Sample code Snippet in Form Script Dataverse/ Dynamics 365 CE

JavaScript is a powerful tool when working with Dataverse (formerly known as Common Data Service) and Dynamics 365 Customer Engagement (CE). It allows developers to create custom functionalities, validate data, and enhance user interactions. Below, we’ll explore some of the most commonly used JavaScript scenarios with sample code snippets to help you get started. For…
Read more

Async Save Feature+ Xrm.WebAPI+ Prevent Save – Conditionally restrict save for xrm webapi retrievemultiple call on save event Dataverse/ Dynamics 365

In this blog post, we’ll walk through an asynchronous JavaScript function restrictAppointments_OnSave_Async with Xrm.WebAPI.ReatrieveMultipleRecord that accomplishes this by restricting the number of appointments a patient can have with the same doctor on the same day in a Dynamics 365 environment. Problem Statement The goal is to prevent a patient from booking more than two appointments…
Read more

Decrement field value automatically using workflow in dataverse or dynamics 365

In Dataverse (formerly known as Common Data Service) or Dynamics 365, you can decrement a field value automatically using workflows. Here’s a general outline of how you can achieve this using a workflow: Here’s a more detailed step: This operator selection can be extended to use Decrement By, Increment By, Set TO and Multiply by…
Read more

Using Pipeline (Deployment) in Power Apps Solution

In today’s fast-paced digital landscape, rapid and reliable deployment of applications is crucial for maintaining a competitive edge. Power Apps, Microsoft’s low-code development platform, offers a robust deployment pipeline feature that streamlines the process of deploying apps and updates across environments. In this blog post, we will explore what a deployment pipeline is, its benefits,…
Read more

Solution Dependency in Power Apps Solution Mangement

Power Apps is Microsoft’s suite of apps, services, connectors, and data platform that provides a rapid application development environment. One of the key features that make Power Apps powerful is its ability to manage and deploy solutions across different environments efficiently. When working with multiple components or customizations within Power Apps, understanding solution dependency becomes…
Read more

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

[Sample Code] Set Lookup View dynamically in Dynamics 365 or Power Apps Model driven app form

Here is a sample code you can use to dynamically set the lookup view conditionally in Dynamics 365 or Model driven power apps. Remember to pass execution context from FORM to JS. Hope this helps.

Top 20 Best Practices in Dynamics 365 & Power Platform while working with plugins, custom workflows, javscript, web resources

Here you will find some important best Practices you can folow while working with Power Paltform and Dynamics 365 Apps. All these Best Practices are recommended by Microsoft for better solution management and performance. Sl No. Description 1 Avoid duplicate Dataverse plug-in registrations.Duplicate plug-in step registration will cause the plug-in to fire multiple times on…
Read more

Open an entity view in javascript power apps model driven app

Below code can be used to Open an entity view in javascript power apps model driven app. Hope this helps.

Open an existing entity record within a dialog box in model driven app power Apps

The below code can be used to Open an existing entity record within a dialog box in model driven app power Apps. hope it helps.

Open an entity form in the create mode within a dialog box pop-up in model driven app power apps javascript

The below code will be used to Open an entity form in the create mode within a dialog box pop-up. Hope it helps.

Open an HTML web resource in a dialog pop-up box

Here is a sample code to Open an HTML web resource in a dialog. Hope it helps.

How to redirect view when record deleted in javaScript in Power Apps

Here is the cide. You have to use NavigateTo API.