OptionalcontainerAssign the given CSS classes to the page viewer's container. This element encompasses the main document view and the toolbar.
Object ID
Entity type of the object.
OptionalenableEnable the workspace and insight tabs to be rendered.
Page context to use.
OptionalfitIf true, the page viewer will fill its parent element's height.
OptionalonA callback that is called when the pageModel's mode or data changes.
OptionalonA callback that is called when the page viewer dirty state changes.
OptionalpageAssign the given CSS classes to the page viewer's main section. This element displays the main document, excluding toolbar.
OptionalpageOptionally provide a pageModel using window.sas.vi.pageModel.createFromObject.
The pageModel type must match docType.
The docType and docId are used to fetch the document page, and pageModel.data is set using the field values from this response.
The pageModel can be used to inspect current data and validity,
but the reference to this model will be broken if a new template is loaded due to a mode transition or other condition.
Prefer using setApi and onChange to interact with the page.
OptionalsetA callback that is called when the page viewer is initialized. It provides an API that can be used to check the page viewer state and save the document.
OptionalshowShow the page toolbar. This contains the toolbar actions associated with the object's entity type.
OptionaltemplateUse the given page template by UUID regardless of page context.
Component bindings to configure a page viewer for editing an existing object.