Home > @tridion-sites/models > PageTemplate
Represents a Page Template: a template used to render a Page.
Signature:
export declare class PageTemplate extends Template
Extends: Template
Constructor | Modifiers | Description |
---|---|---|
(constructor)({ backendModel, approvalStatus, pageSchema, workflowInfo, …templateArgs }) | Constructs a new instance of the PageTemplate class |
Property | Modifiers | Type | Description |
---|---|---|---|
_backendModel | BackendPageTemplate | ||
approvalStatus | Link | undefined | <p>Approval status of the item.</p><p>Can be undefined if the item has not been part of a workflow process.</p> | |
fileExtension | string | undefined | The file extension used for Pages based on this Page Template. | |
getInternalModel | () => BackendPageTemplate | ||
pageSchema | Link | undefined | Only schemas with purpose “SchemaPurpose.Region” can be set on this property. When set, component presentation(s) and region(s) of page using this page template will be validated against this schema, along with its Metadata instead of the Metadata schema of the page. | |
workflowInfo | WorkflowInfo | undefined | Workflow-related information for the item. |