Redigera

Dela via


resources element

The resources node in the component manifest refers to the resource files that component requires to implement it's visualization.

Available for

Model-driven and canvas apps

Parent Elements

Element Description
control Defines the component's namespace, version and display information.

Child Elements

Element Description Occurrences
code Refers to the path where the resource files are located. 1
css CSS describes how code components are to be displayed on UI. 0 or more
img The img web resource allows you to add images for the code components. 0 or more
resx The resx webresource is used to manage the localized strings you define. 0 or more
platform-library The platform library to use as a resource.
This element is used in the React controls & platform libraries (Preview) .
0 or more

Example

<resources>
  <code path="JS_HelloWorldControl.js" order="1" />
    <css path="css/JS_HelloWorldControl.css" order="1" />
</resources>

Power Apps component framework manifest schema reference
Power Apps component framework API reference
Power Apps component framework overview