PL 400 : Configure a PCF component manifest (Create a Power Apps Component Framework (PCF) component)

The Microsoft Power Apps Components Framework enables us to create reusable code components that can be used with our Power Apps applications. This framework empowers professional developers to build code components when out-of-the-box components do not fit the needs of app makers. These components are metadata driven, performant and can be configured and used on both canvas and model-driven applications.


Code components consist of three elements:

  1. Manifest
  2. Component implementation
  3. Resources
Power Apps components are meta driven.


Power App component framework enables professional developers from within and outside Microsoft to develop custom code components as reusable visual extension. These components are configured by manifest.

Manifest is xml document that describe:
  • Component Name.
  • The type of data that can be configured, either a field or a dataset.
  • Any properties that can be configured in the application when the component is added.
  • A list of resource files that the component requires.

 

<?xml version="1.0" encoding="utf-8" ?>
<manifest>

<control namespace="TestNameSpace" constructor="JSTestControl" version="1.0.0" display-name-key="JS_TestControl_Display_Key" description-key="JS_TestControl_Desc_Key" control-type="standard">

<property name="TestFirstProperty" display-name-key="TestFirstProperty_Display_Key" description-key="TestFirstProperty_Desc_Key" of-type="SingleLine.Text" usage="bound" required="true" />
<resources>
<code path="JS_TestControl.js" order="1" />
<css path="css/JS_TestControl.css" order="1" />
</resources>
</control>
</manifest>




Comments

Popular posts from this blog

Exploring the Differences: Managed vs. Unmanaged Solutions in Dynamics CRM/Dataverse

PCF vs. Web Resources: Choosing the Right Extensibility Tool for Dataverse

Effective Strategies for Debugging Plugins in Dynamics CRM