Rooms and documents
Interactive documents
Share a working HTML page, such as a model or a demo, as a document in your room.
What they are
An interactive document is a web page you built, such as a pricing calculator, a financial model with sliders, a chart you can explore, or a product demo. Visitors use it inside the room like any other document, and you get the same view tracking.
Prepare the file
You can upload either:
- A single HTML file
- .html or .htm, up to 5 MB. Put the styles and scripts inside the file.
- A .zip bundle
- Up to 25 MB, and up to 50 MB and 200 files once unpacked. It must have an
index.htmlat its top level, which is the page visitors open. Other files can be scripts, styles, data (JSON, CSV), images, fonts, audio, video or WebAssembly.
Refer to the other files in a bundle with relative paths. If the bundle is refused, the message says why, for example “The bundle needs an index.html at its top level.”
Upload it
Upload it like any file: see Upload files. It appears with the type Interactive. Replacing it with a new version works the same way as for other files.
If the upload page says “Interactive HTML files aren’t available yet”, interactive documents aren’t switched on where you are; upload a PDF instead.
What visitors see
- The page runs inside the room, in its own frame.
- If watermarking is on for the document, the watermark is drawn over the frame. The page itself never learns who the visitor is.
- The visible text of the page is indexed, so search and AI answers can use it.
- A visitor download, if you allow one, is the original file, not a working page.
What an interactive document can’t do
For your visitors’ safety, the page is isolated from the room and from the internet:
- It can only load files from its own bundle. Scripts, fonts or data from other websites, and calls to any outside API, are blocked. Bundle everything it needs.
- It can’t open pop-ups, submit forms, show browser dialogs or navigate the room away.
- It can’t read the visitor’s cookies or storage, or anything else in the room.