Component files
Upload and edit the files of a component, and see the component in the editor.
Questa pagina non è ancora tradotta. Stai leggendo l’originale.
A component folder holds the files of one component, such as editor.html, render.html and settings.html. See The component folder for what each file does and Your first component for an example.
Create a file
- On the UI components screen, open the database and the component.
- Select Create and then Create editor.html, Create render.html or Create settings.html.
The file appears with starter code for that kind of file, with the name of the component filled in. Open it to write your component.
Upload a file
- On the UI components screen, open the database and the component.
- Select Create and then Upload file.
- Choose the file on your computer.
Edit a file
- Select the file. The Edit: window opens with the code of the file.
- Change the code.
- Select SUBMIT.

Make the component appear in the editor
UI Studio builds the list of components of a database again a few seconds after you create, upload, edit, clone, rename or remove a file or a component.
Then open a design that uses the database. The component appears in the component list of the editor, in the group set in its editor.html.
Each file also has Copy link in its menu, which copies its address under /ui/.