Import & Export
The Widget Builder allows you to export widgets as JSON files and import them into other accounts. This is useful for transferring widget configurations between environments or sharing widgets with colleagues.
Exporting a Widget
You can export any widget (custom or built-in) directly from the widget list.
- Navigate to Custom Widgets (or Built-In Widgets).
- Hover over the widget card to reveal the action buttons.
- Click the Download icon button.
A JSON file will be downloaded to your computer automatically. The file name follows the pattern:
<widgettitle>_wb_<timestamp>.json
For example: mymenuwidget_wb_2025-01-15_14-30-00.json
What is included in the export?
The exported JSON file contains the complete widget configuration:
- Template (HTML/Handlebars markup)
- CSS styling
- Form fields (widget settings definition)
- Variables (custom variable definitions and defaults)
- Translations (all language strings)
- API configuration (URL, method, headers, body)
- Metadata (export date, Widget Builder version, source URL)
What is NOT included?
- Widget icon -- the icon image is not part of the export file.
- API Proxy credentials -- API request IDs reference server-side proxy configurations that cannot be transferred. You will need to reconfigure the API Proxy on the target account.
Importing a Widget
You can import one or more widget JSON files into your account.
- Navigate to Custom Widgets.
- Click the Import button in the top-right corner of the page.
- In the import dialog, click Select file and choose one or more
.jsonfiles. - Review the listed widgets. Each valid widget shows an info message with its name. Invalid files show an error message.
- Click Import to create the widgets.
What happens after import?
- Each imported widget is created as a new Custom Widget.
- The imported widget is always set to Inactive (draft state) -- you must activate it manually.
- The original widget's
idandguidare discarded; the imported widget gets new identifiers. - A success notification confirms the import.
Limitations
| Limitation | Details |
|---|---|
| Icons not transferred | Widget icons are not included in the export. Upload a new icon after importing. |
| API Proxy references | If the original widget used the API Proxy, the proxy configuration is not transferred. Set up the API Proxy again on the target account. |
| Always inactive | Imported widgets are created as inactive drafts. Activate them manually after reviewing the configuration. |
| File format | Only .json files exported by the Widget Builder are accepted. The file must contain a _meta.type field set to "widget". |