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 »

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 »

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 »

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 »

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 »

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 »