Tag Archives: PCF Control

How to modify the OOB Field Service technician service Report using PCF control

Recently we had a requirement from one of our clients for incorporating the customization in the OOB Field service technician service report in the field service mobile and web app. Microsoft Field Service Reporting is a managed solution that can be installed in the environment. Once you install the solution, the Report will appear on… Read More: How to modify the OOB Field Service technician service Report… »

Use of async-await in virtual PCF control

Recently while working on the virtual PCF control we noticed that the updateView() in the virtual PCF works in a different manner as compared to standard PCF control with async functions. In standard PCF control, the return type of the updateView() is void while in the virtual PCF the return type is react-element. So when… Read More: Use of async-await in virtual PCF control »

How to programmatically call UpdateView in PCF using requestRender

Introduction: If you know Power Apps Component Framework, then you must know the updateView method, which is one of the standard methods of PCF. The updateView method is triggered only when the PCF control is refreshed or rendered and shows us the updated data on our control. We work on the dataset as well as… Read More: How to programmatically call UpdateView in PCF using requestRender »

How to create simple Lookup using PCF Control

Introduction: With recent updates to the PowerApps Component Framework (PCF), developers can now create custom PCF controls for lookup fields a capability that was not supported earlier. Previously, lookup fields in Dataverse and model-driven apps could not be directly bound to PCF controls in a supported manner. However, Microsoft introduced the Lookup.Simple property type, which… Read More: How to create simple Lookup using PCF Control »

How to Read and Set Date Format of Logged-in User in PCF Control

Introduction Recently in our PCF control, we got the requirement that when the user selects a date from the calendar control then that date format should be of logged-in user. In this blog, we will check how to achieve the same. Scenario: Here is my current user settings in Dynamics 365 CRM. As you can… Read More: How to Read and Set Date Format of Logged-in User… »

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… »