URL parameters
Parameters you can add to the address of UI Builder to open a design or use your own lists.
Add these parameters to the address of UI Builder, for example http://localhost:8000/?url=.... Files on another server must allow requests from the address of UI Builder (CORS).
| Parameter | What it does |
|---|---|
url | Opens the design file at this address instead of the start screen. |
templates | Uses your own list of templates on the start screen. The demo links are then hidden. |
components | Uses your own component library in Import components. |
Open a design
http://localhost:8000/?url=https://www.example.com/designs/demo.jsonYour own templates
The file is a JSON array. Each item has an id, a name, an image shown on the start screen and the address of a template design file:
[
{ "id": "app", "name": "Demo project", "image": "/img/app.png", "template": "/templates/app.json" }
]Add "disabled": true to show an item greyed out. A template file is a design file like _editor.json.
Your own component library
See Use your own component library.
Combine parameters
Join parameters with &:
http://localhost:8000/?templates=/demo/templates.json&components=/demo/components.json