Category Archives: PCF

How to Sort Dataset in PCF Control?

Introduction In this blog, we will see how we can sort records in the dataset in PCF control. The dataset object does have the property “sorting” which we can use to sort records according to a particular column in ascending or descending order. To keep dataset designing simple and easy to understand we will be… Read More »

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 write, whereas Arabic… 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 current if the 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 »