Important: Deprecating old WebView — Publish failed error
PCF Configuration Tool
Jump to navigation
Jump to search
Warning | Work in progress! We are in the process of updating the information on this page. Subject to change. |
The PCF Configuration Tool is designed to improve the setup of Resco Power Components that utilize JSON definitions. By providing a user-friendly interface, it allows users to input necessary configurations without directly handling JSON code.
Key features
- Component Selection: Users can select the specific custom code component they wish to configure. The tool then adjusts its interface to align with the selected component's JSON schema, ensuring accurate and efficient configuration.
- Integration with Resco PCF Configuration Table: The configurator operates within the "Resco PCF Configuration" table. Users create a new record in this table and specify the target component to configure a component.
- The result of the configuration is a JSON string. This string can be directly saved into the components configuration or copied to the clipboard.
How to import and set up the PCF Configuration Tool
PCF Configuration Tool is a custom code component used in the form of a custom table called "Resco PCF Configuration". This table is part of the solution. To add the configurator to the app:
- Download the solution from [tbd].
- Import Solution into your Environment.
- Create a new Model-driven app or edit the existing one.
- Add the Resco PCF Configuration table as a new page.
- Once added, the PCF Configuration Tool is ready to use.
How to configure components
Resco PCF Configuration works as any other table. To create a new component configuration:
- Create a new record in the table. The configurator component will appear in the record's form.
- Click the PCF Component dropdown and select the component you want to configure. The editor will automatically adjust to match the selected component’s JSON schema.