Skip to main content

Export a Widget as Standalone HTML

Export a widget as a self-contained HTML file that anyone can open in a browser without a Crow's Nest account.

Prerequisites: The widget does not use SQL data connections (SQL connections require server-side execution and can't be exported).

Steps​

1. Open the widget​

Go to Widgets and open the widget you want to export.

2. Configure dimensions (optional)​

In the Settings tab, set Max Width and Max Height if you want to control the widget's size in the exported file.

3. Export​

Click the Copy button in the top toolbar. The widget HTML is copied to your clipboard.

4. Save and share​

Paste the HTML into a file (e.g., widget.html) and save it. Open it in any browser to verify it works.

What's in the exported file​

The HTML file contains:

  • Your widget code (HTML, JavaScript, Chart.js, CSS)
  • A bundled runtime library that provides getData() and other SDK functions
  • Embedded data source credentials for Tulip connections
  • Static data rows (for Static connections)

Security note​

Exported files embed Tulip auth tokens in plain text. Only share exported files with people who are authorized to access the underlying data.

Limitations​

  • Widgets with SQL connections cannot be exported (the Copy button is disabled).
  • MQTT connections work if the broker is accessible from the viewer's browser.
  • The exported widget fetches live data from Tulip on each load — it's not a static snapshot.