DocumentContext Interface
The DocumentContext TS interface defines a blueprint of a JS object that describes the context of an Envision document currently opened in the Canvas Envision Creator app.
Properties
A DocumentContext object has the following properties:
optional center_id: number;A number, an internal unique identifier of the center where a given Envision document is located.
optional draft_id: number;A number, an internal unique identifier of a given Envision document.
optional user_id: number;A number, an internal unique identifier of a user who triggered a given event.
optional workspace_id: number;A number, an internal identifier of the workspace where a given Envision document is located.
Examples
{
center_id: 12,
draft_id: 987456,
user_id: 74123,
workspace_id: 34,
}
12 February 2025