UI components
Keep your own UI Builder components in BPM.
On this page
The UI components screen stores your own UI Builder components. Components are kept in databases: a database is a folder with one subfolder for each component. How to write a component is described in The component folder of the UI Builder documentation.
Browse
The screen opens on Databases. Select a database to see its components, and a component to see its files.
Create a database or a component
- Select Create, then Create database (on Databases) or Create component (inside a database).
- Enter a name in lower case, using only the letters a to z, and press Enter.
Add files to a component
Open the component, select Create and then the file to create, or Upload file to upload one. Select a file to edit it, and SUBMIT to save it.
Rename, clone, remove
The menu of a database, component or file offers Rename and Remove. Databases and components also have Clone.
Download and restore
- Options > Download database downloads the open database as a
.zipfile. - On Databases, Options > Upload .zip database unpacks a
.zipfile into the folder of the databases.
Use the components in forms
BPM publishes each database as a list of components at /ui/<database>.json and rebuilds the list a few seconds after every change. Inside a database, Options > Copy link for editor copies this address. Add it to components of a form template. New forms made from that template offer your components in the UI editor, in the group set in their editor.html.
The folder of the databases is set in Settings (UI components > Directory).