Static bundles
Most custom content receives awindow.SEAL_CONTEXT object before the uploaded
HTML runs. That context includes the current entity, user details, and an API
token, so Seal serves those HTML documents with no-store.
For static launchers or homepages that do not need window.SEAL_CONTEXT, add a
seal-custom-content.json file at the root of the uploaded zip:
window.SEAL_CONTEXT or call authenticated Seal
APIs from inside the iframe.
E-signature
Custom content iframes can request an e-signature from the user via the hosted helper script:requestESignature() opens the Seal e-signature modal in the parent application. It returns a promise that:
- Resolves to
truewhen the user successfully signs - Rejects with an
Errorif the user cancels or the signature fails
postMessage and will reject if called outside an iframe.