PCF stands for power apps component framework. This allow developers to create reusable component that can be used in Model Driven App and Canvas App.
The PCF control is of two types as below:
For e.g. Consider an account entity, On Account Form, we have Boolean field and we want to show PCF control on it then we can the Field type.
For e.g. Consider an account entity, On All Account view, if we want to show some custom PCF control then we must use the Dataset field type.
In this blog, we will see the steps required to create the PCF control and few important details about the PCF control.
Note: In this article, we have used VS2019 and VS2019 command prompt
For e.g. “D:\Training\PCF\FirstPCFControl”.
After this please run below command:
pac pcf init –namespace <namespacename> –name <componentname> –template <templatetype>
Here we must replace below attributes from above command:
For e.g.
pac pcf init –namespace CRM –name FieldPCFControl –template field
pac pcf init –namespace CRM –name DataSetPCFControl –template dataset
Here, we have run the dataset command and above folders is gets created.
npm install
https://docs.microsoft.com/en-us/powerapps/developer/component-framework/manifest-schema-reference/
In the next blog, we will see how we can configure the PCF control using fluent UI.
View Comments