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

Blog

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.

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

Exporting and Importing Solutions in Power Apps: A Comprehensive Guide

Introduction Power Apps solutions are a powerful tool for managing and deploying customizations. Solutions bundle components like entities, fields, views, charts, flows, and canvas apps into a single package, making it convenient to move them from one environment to another. Power Apps offers a robust solution framework that allows developers and administrators to package and…
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

Hide Form Field in Power Pages By using JavaScript

Introduction Power Pages, with its robust features and dynamic capabilities, empowers users to create compelling forms for various purposes. One essential aspect of form design is the ability to control the visibility of certain fields based on user interactions or specific conditions. In this blog post, we’ll delve into the techniques and best practices on…
Read more

How to Make Fields Read Only in Power Pages Form Using JavaScript

Introduction: Power Apps Portals empower users to create dynamic and engaging web experiences without delving into complex coding. In this blog post, we’ll explore how to make fields read-only in Power Pages forms using form metadata, ensuring a seamless and user-friendly portal customization process without the need for any code. this bellow link will helps…
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 hide form fields using Business Rule

Introduction: In Dynamics 365, creating a user-friendly and streamlined interface is essential for enhancing the efficiency of data entry and management. One powerful tool at your disposal is Business Rules, which allows you to dynamically control the behavior of fields on a form. In this blog post, we will delve into the art of hiding…
Read more

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

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

How to add a configuration page for your Power Apps Solution

You can upload a configuration file to note all required configurations for your solution. Follow below steps to do this. Step 1 – Create a HTML Web Resource Open your power apps solution and add a new web resource component of Type HTML. Before it prepare a HTML Page and mention detailed Explanation about your…
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