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

Category: powerfx

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.

Bind Choice field to combo box in canvas app power apps

To bind combo box control with choice field from Dataverse, you need to use below PowerFX in the items property of the control. Now all the items will display as items of the combo box. But by default combo box allows to select multiple items at a time. if you want to restrict users to…
Read more

Download File using PowerFX in Power Apps Canvas App

You can download online Files to your local machine using PowerFX. Follow below steps. Step 1 : Create a Canvas App with components In Power Apps maker, create a canvas app and add a button component on screen and add below PowerFX in OnSelect property. Download(“https://grad.illinois.edu/sites/default/files/pdfs/cvsamples.pdf”) Hope this helps.

Display only current user records using powerfx in canvas app gallery

Most of the times you need to filter records of a gallery in canvas app to display only records created by current login user. So how can you do this. You can use below PowerFX for the gallery. The below power fx uses search functionality with filter to only fetch created by user is current…
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