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

Author: Sanjaya Pradhan

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.

Display List Actions inline in each row instead of dropdown on Power page using CSS

Add the below Span tags in your action labels. Next add below CSS in web page.

Error in Power Pages on Registration, Login runtime errors

Sometimes you can get error as below in Power Pages. “Something went wrong” issue. To troubleshoot this issue, Disable Custom Error and check the exact error. Follow steps below. Step 1 – Open https://make.powerpages.microsoft.com/ and select correct environment and select the power page and select 3 dots to open Admin Center. Step 2 – In…
Read more

C# Code in Custom Connector for Power Apps or Power Automate

You can use C# code in a custom connector and which can be called as a connector from power apps or power automate. Follow these steps. Step 1 – Create a Custom connector with Name and Host Step 2 – Add No Security for this Step 3 – Add Definition Request Add Request option using…
Read more

Power Automate (Who Can Access the Flow Permission) With Request HTTP Calls

Microsoft newly introduced a Security feature for Request trigger by using which you can secure the WEB API Calls in Power Automate with HTTP Calls. Follow below Steps. Step 1 – Configure a Flow with Request Trigger Step 2 – Use below JSON to generate Schema Step 3 – Add Send Email step and connect…
Read more

Working with Do Until Loop in Power Automate with JSON and Array

In this example, you will come to know how to use Do until loop in Power Automate when you want to run LOOP for a specific condition met. Scenario: Need to Build a Flow which will get JSON response from a Third Party Web API request called as Currency Layer to get Live Exchange Rates…
Read more

Get first row or single record column values from a List Row action without Loop in Power Automate using Dataverse

Problem Statement When you retrieve a record from Dataverse or any data source by using filter condition using List Rows, it returns the matching records from the table which you can use loop for further action steps in Power Automate. But sometimes when you have no primary key value with you and you want to…
Read more

Using Filter Array, Loops, Variables and SetProperty Scenario in Power Automate

In this Post, you will see how you can use Array manipulation using Array Filters, Loops, Variables and SetProperty Scenario in Power Automate. Scenario: We have the below records in the table. There may be multiple records for a single doctor with patient count 1 for every row. The requirement is to send a consolidated…
Read more

Automate BPF Stage Selection using Server Side Code Plugins with Related Entity Parent Child Scenario

In this Post, you will come to know how to Automatically Set the Active Stage and Move the stages automatically as per child record field update. Business Requirement There is a business use case, which tells that, there are two table Teacher (1) and Classes (N) . Every time a Teacher is created in the…
Read more