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

Blog

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

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

AI Capability for Power Virtual Agents Walk-through for external website content

AI is now everywhere. In Power Virtual Agent, you can also use AI Capability to use Generative AI so that Chatbot can respond to the user. In Non-AI era, when a Chatbot receives non-identified phrase twice , it escalates the conversation with a real human agent. But instead of this now you can configure Generative…
Read more

How to Trigger Cloud Flow from Power Pages

Step 1 : Create a Power Automate Flow with Power Page Trigger Navigate to https://make.powerpages.microsoft.com/ and select correct environment. Choose Solutions option from sitemap and select an existing solution or create a new solution. Add a new cloud flow with trigger Power Pages. Add required parameters. Step 2 – Add action to return reverse String…
Read more

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

What is Site Markers and How to use them in Power Pages

Site markers are configurable, named value that points to a web page on your power page/portal website that is accessed in code in place of a hard-coded URL. Most of the times you might be using URLs in some links element which are hard coded or static. But as a best practice and better management,…
Read more

Get Date Time value from datetime field in power portal/ power page using jQuery

If you want to get Date & Time field value and want to compare with current date so that you do not want to allow submitting back dated value then use below code in power portal/power page form. Now when user will submit with back dated appointment, then submit button will not work. If future…
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.

Hide Form fields in Power Page/ Power Portal using jQuery/ JavaScript

Form fields are composite control so to hide a field on Power Pages Form, you need to use .parent jQuery function. Use the below code. In the below example We are hiding the Patient lookup row from form. Final Result. The patient lookup row is hidden. Hope this helps.