Category Archives: PCF

isRTL property of UserSettings API in PCF Control to Determine Language within Dynamics 365 CRM

Introduction As we know, PCF control can be run in multiple languages. Each language has a script to be written and it will be written with a direction. Some languages are written in the left-to-right direction, whereas some are written in the right-to-left. For example, English language script is written left-to-right, whereas Arabic language script… Read More: isRTL property of UserSettings API in PCF Control to Determine… »

Check whether the current logged in Dynamics 365 CRM user has necessary security privileges for a specific entity in PCF Control

Introduction In this blog, we will get the idea on how we can check if the current logged-in user has Read/Write/Update access to any specific entity or not. Scenario We have one Boolean type PCF control on the Account entity. Based on the Yes / No value of PCF control, we want to create a… Read More: Check whether the current logged in Dynamics 365 CRM user… »

Format input values using Formatting API in PCF Control within Dynamics 365 CRM

In our past projects, we created a PCF Control in which we had a requirement to format the input values like strings/numbers to the user currency/decimal format according to the user personalized settings set in Dynamics 365 CRM. To achieve this, we used a new Formatting API of Power Apps. This API makes our code… Read More: Format input values using Formatting API in PCF Control within… »

What is PopupService in PowerApps Component Framework?

Introduction While creating PCF control, we have mostly encountered difficulties to create popups and dialog boxes. We use external UI libraries like Fluent UI that enables us to manage popups in our PCF control. Have you heard of PopupService in PowerApps Component Framework? Let us find out what the PopupService is. PopupService is a native… Read More: What is PopupService in PowerApps Component Framework? »

Get Subgrid Information from the PCF Context

Introduction Recently we were working on a PCF dataset control that can be configured on the Home grid as well as on the subgrid. So while developing the control there were few queries such as what data can we get from the context object regarding the Subgrid. For example, the Subgird label, View ID, Relationship… Read More: Get Subgrid Information from the PCF Context »

How to set filters in PCF Dataset control using setFilter method

Introduction In our previous blog, we saw how to create configurable PCF Dataset control. In this blog, we will see how to set filters in your PCF control to manage the data. Sometimes, we are working on large datasets and filtering that data becomes a nightmare. For such scenarios, we can use setFilter method to filter… Read More: How to set filters in PCF Dataset control using setFilter… »

How to get additional column values in PCF Dataset Control using addColumn()

Introduction In our previous blog, Create Configurable PCF Dataset control using Property-set and Property we asked users about which attributes they would like to visualize. Similarly in this blog, we’ll see how to programmatically get the record value in the context along with the other column values. In the previous blog we have seen how… Read More: How to get additional column values in PCF Dataset Control… »

How to Work with PCF Dataset Control using Fluent UI’s Detail List

Introduction With the introduction of PowerApps Component Framework, Microsoft has provided a way to replace OOB grid and Entity fields with custom controls. These controls are reusable and can be designed in any form using web development technologies (HTML, CSS, Javascript) to show the CRM records like showing records in a form of Kanban Board,… Read More: How to Work with PCF Dataset Control using Fluent UI’s… »