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:
- Manifest
- Component implementation
- Resources
Power Apps components are meta driven.
- 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
Post a Comment