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

Category: Power Apps

Update multi-entity lookup using Patch function in Canvas APP with Dataverse

If you are looking for complete article how to perform CRUD operation for polymorphic lookup field value then read this article HERE. You can also use Patch function to send data from canvas app to Dataverse using Patch function from a FORM. use below powerfx. You can use a toggle button to decide what type…
Read more

Polymorphic lookup field Value CRUD operation from Canvas App with Dataverse

You might have used polymorphic lookup field which can hold reference of multiple tables like Customer Data Type which can hold contact or account. SO for this type of complex data types its is not straight forward to handle CRUD operation from canvas app. Let us see here how to Create a record in Dataverse…
Read more

Open Custom Page from Model driven app Main grid command and pass parameters

In business requirements you need to open custom page on clicking a command button on main grid by selecting one or multiple rows. This post will explain below points. How to Add Custom button on Main grid command bar Show command button if at least one row selected else hide Call JavaScript to open a…
Read more

Show hide command buttons based on table permission in Power apps model driven apps using Power FX

If you want to show hide command buttons as per table permission for a login user then follow below steps. In this example I want to hide the custom command button “Set as Competitor” for the users who has no edit permission on Account entity. So first you need to check the security role permission.…
Read more

Show hide command button based on Field value of the form using PowerFX in Dynamics 365 model driven apps

In these days we are using PowerFX in many of our Power Apps. You can use PowerFX for commanding purposes in model driven apps. In this post I will explain about “How to show/hide command buttons based on field value of the record”. Let say You have Account Form and You want to show a…
Read more

Dynamics 365 CE CRM and Power Platform Complete Syllabus

Here is the Dynamics 365 CE CRM and Power Platform Complete Syllabus.

Learn PCF in Power Apps Step-by-Step with basics for beginners in Power Apps

PCF can provide enhanced user experience for the users to work with data on forms, views, and dashboards in Power Apps. For example, a basic ‘Number’ field can be rendered as a Slider control where user can slide to set the value rather than typing. You can learn more theories about PCF here https://docs.microsoft.com/en-us/power-apps/developer/component-framework/overview. But lets see…
Read more

(Solved) msbuild is not recognized as an internal or external command, operable program or batch file while working with PCF

When you run command msbuild you may face below error. ‘msbuild’ is not recognized as an internal or external command,operable program or batch file. Soution To solve this follow below steps. Step 1 – Go to properties of current machine This PC. Step 2 – click on Advanced system settings Step 3 – Click Environment…
Read more

(Solved) ERESOLVE unable to resolve dependency tree while installing a pacakge while working with PCF

While working with PCF you might install Fluent UI but you may face below issues. ERESOLVE unable to resolve dependency tree while installing a pacakge Solution To solve this follow below methods step by step. It means you have dependency conflicts. So try running the following options one by one. 1. Remove node_modules and package-lock.json and then run 2.…
Read more

(solved) Type ‘string | null’ is not assignable to type ‘string’ while working with PCF

While working with PCF you might get the below error. Type ‘string | null’ is not assignable to type ‘string’. Solution Make sure you have a default value for the value you’re trying to get. In this case, I had to default to empty string. Hope this helps.

(Solved) npm ERR! code E404 while working with Power Apps PCF

ERROR While working with command npm install you might be facing the 404 issues as given in below screenshot. Solution inside your PCF folder run the commands. STEP 1 : run below commands to solve this issue. npm config set registry http://registry.npmjs.org STEP 2 : run below command next npm -g install npm STEP 3…
Read more

Power Portal WEB API Read, Create, Update, Delete records using Dataverse tables

Step 1 : Create Site Settings Records Step 2 : Create Table Permission, Web Role and Contact Association Create Table Permission Create Web Role Associate Web Role with Contact Step 3 : Create Web Template to add liquid code Create a web template and add below code. Use Microsoft site for full tutorial . And…
Read more

Declare environment variables and use it in Power Automate

You can configure or declare environment variables inside a power apps solution to keep configurable data items or static data items so that you can use the value in other apps such as canvas apps, power automate etc. Here in this post you will come to know how to declare an environment variable and call…
Read more

Configure a Community Portal in Power Portal using Power Apps

Microsoft provides many pre-build templates so that you can use it as a template without creating start from scratch portal. The templates contains all pre-built resources and components you can use. The pre-build portals are available as below. Community Portal Customer Self Service Portal Partner Portal Employee Self Service Portal Customer Portal In this post…
Read more

How to display progress bar using JavaScript for Dynamics 365 CE

Sometimes for long waiting scripts takes time to complete the execution. In this type of scenarios it is best practice to show a progress bar to user so that user will wait till the progress bar closes. In Dynamics 365, You can implement progress bar using JavaScript. The following sample method will tell you how…
Read more

Display in-app notification in model driven apps power apps for Dynamics 365

You can display in-app notifications in Dynamics 365. Follow the below steps: Step 1 – Enable Settings for In-app notification Open a model driven app of your choice and click on F12. in console paste the below code and press enter. Make sure to use correct model driven app unique name. Step 2 – Prepare…
Read more

How to display long text in power portal as form field caption

Sometimes you need to display a paragraph as a caption for a form field in power portal or table form. But table fields do not support paragraphs to display. So how can you do? Follow below steps: Add a section inside tab and in the section label specify the paragraph you want to display. drag…
Read more

Power Automate vs Logic Apps

Power Automate is built on top of Azure Logic Apps but there are differences in terms of the environments they are used from, e.g. Office 365 and Azure, which provides unique features and optional methods of construction. Here are some of the following key differences: Description Power Automate Logic Apps Focus End Users and Makers…
Read more

Create your first PCF custom control step-by-step and deploy in Power Apps

Follow below steps to create your first PCF control for Power Apps. Step 1 – Install Node JS First you have to install node.js using official website of Node JS. Follow the link https://nodejs.org/en/download/current/ to navigate to Node JS site. Click on Windows Installer to download the setup file. chose a folder to save the…
Read more

Connect Dataverse Dynamics 365 using Bearer token using power automate

To connect dynamics 365 dataverse using power automate you need to get the bearer token first. Follow below steps to get bearer token. You need to add URI with tenant id use correct tenant id from azure active directory application. URI = https://login.microsoftonline.com/652c35af-04b4-4d8f-9db0-9bb2c58bc908/oauth2/token Content-Type= application/x-www-form-urlencoded in body put below: (get this client id, client secret…
Read more

Add or Remove items options from Multi-select optionset field (Choices) in Dynamics 365 power apps using javascript

In this article you will see how you can add or remove dynamically optionset values in a multi-select optionset or choices data type field in dynamics 365 power apps. Lets take a scenario: you have two fields one is Gender Choice (Male, Female) (Single select optionset) and another is Degree Choices (MCA, MBA, BTech, Bsc)…
Read more

Hide command button on rule in Power Apps using PowerFX

To set visibility of command button using Power FX follow below steps: Add Command button using Edit in Preview method of Power Apps. Open any model driven app, click 3 dots to choose Edit in Preview and choose entity for which you want to add button. Choose where you want to add button. You can…
Read more

Open custom page as modal pop-up from dynamics 365 power apps

You can open custom pages as a modal pop from Dynamics 365 form custom command button click. Step 1 : Create a Custom Page inside a Solution ( Read here how to add custom page ) Add a custom page inside a solution. The page contains a textbox and a button. on button click we…
Read more

How to display Advanced Form on Power Portal Page

Step 1: Create an Advance Form in Power Portal First create a Advance Form in Power Portal with Advanced Steps. Step 2: Create a Web Page and associate the Advanced form in lookup Step 3: In the Content Page of Web Page, associate the Advanced form in lookup From the localized content area choose the…
Read more

How to display icon in menu power portal

In power portal menu web link set you can display icon instead of text using font awesome classes. In the below screenshot I have a menu called as Student Page and I want to display an user icon instead of text. To change the text to icon navigate to Web link set which represents the…
Read more

Content Snippets in Microsoft Power Portal

Content snippets are small section of editable content that you can place in any webpage, web template of power portal for re-usable concept. You can define your content once and re-use anytime in your portal. Let take an example, You want to keep a formal notice in multiple pages in your power portal then instead of…
Read more