control element
Defines the component's namespace, version and display information.
Available for
Model-driven apps and canvas apps (public preview)
Parameters
Name | Description | Type | Required | Available for |
---|---|---|---|---|
namespace |
Defines the object prototype of the component | Only letters or numbers | Yes | Model-driven apps and canvas apps (public preview) |
constructor |
A method for initializing the object | Only letters or numbers | Yes | Model-driven apps and canvas apps (public preview) |
control-type |
Standard | standard |
No | Model-driven apps and canvas apps (public preview) |
description-key |
Defines the description of the component that will be seen on the UI. | string |
No | Model-driven apps and canvas apps (public preview) |
display-name-key |
Defines the name of the control that is displayed on the UI. | string |
Yes | Model-driven apps and canvas apps (public preview) |
preview-image |
Image that will be used on the customization screens to show a preview of the component. | string |
No | Model-driven apps |
version |
Defines the version of the component defined in Semantic Versioning | string |
Yes | Model-driven apps and canvas apps (public preview) |
Parent Elements
Element | Description |
---|---|
manifest | Manifest is the metadata file that defines a component. It is an XML file that describes:
|
Child Elements
Element | Description | Occurrences |
---|---|---|
data-set | The data-set node in the component manifest represents a specific, configurable representation of a set of table records. | 0 or more |
property | The property node defines a specific, configurable piece of data that the component expects from the Microsoft Dataverse. | 0 or more |
resources | The resources node in the component manifest refers to the resource files that component requires to implement it's visualization. | 1 |
type-group | The type-group node defines a set of types identified by a single name. This information can be used to identify the data types supported by a specific property. | 0 or more |
Example
<control namespace="MyNameSpace" constructor="JSHelloWorldControl" version="1.0.0"
display-name-key="JS_HelloWorldControl_Display_Key" description-key="JS_HelloWorldControl_Desc_Key"
control-type="standard" preview-image="img/preview.png">
</control>
Related topics
Power Apps component framework manifest schema reference
Power Apps component framework API reference
Power Apps component framework overview
Note
Can you tell us about your documentation language preferences? Take a short survey.
The survey will take about seven minutes. No personal data is collected (privacy statement).