tridion-sites-extensions-api-docs

Home > @tridion-sites/models > Publication

Publication class

Publication: a “Repository” used for publishing.

Signature:

export declare class Publication extends Repository

Extends: Repository

Constructors

Constructor Modifiers Description
(constructor)({ backendModel, componentSnapshotTemplate, componentTemplateProcess, defaultComponentTemplate, defaultPageTemplate, defaultTemplateBuildingBlock, pageSnapshotTemplate, pageTemplateProcess, rootStructureGroup, templateBundleProcess, …repositoryArgs })   Constructs a new instance of the Publication class

Properties

Property Modifiers Type Description
_backendModel   BackendPublication  
componentSnapshotTemplate   Link | undefined Component Template that is used to render the snapshot for a Component that is in Workflow.
componentTemplateProcess   Link | undefined Process Definition that defines the Workflow process which is triggered when Component Templates are edited.
defaultComponentTemplate   Link | undefined The default Component Template is used to render previews of Components. It also provides the default content for new Component Templates.
defaultPageTemplate   Link | undefined  
defaultTemplateBuildingBlock   Link | undefined The default Template Building Block provides the default content for new Template Building Blocks.
getInternalModel   () => BackendPublication  
locale   string | undefined Locale of a publication.
multimediaPath   string | undefined Path to the directory containing published binaries.
multimediaUrl   string | undefined URL of the directory containing published binaries.
pageSnapshotTemplate   Link | undefined Page Template that is used to render the snapshot for a Page that is in Workflow.
pageTemplateProcess   Link | undefined Process Definition that defines the Workflow process which is triggered when Page Templates are edited.
publicationPath   string | undefined Publication/publish path.
publicationType   string | undefined Type of a Publication.
publicationUrl   string | undefined Server-relative publication/publish URL.
rootStructureGroup   Link | undefined  
shareProcessAssociations   boolean Whether to share Process Associations of Schemas and Structure Groups from a parent Publication.
templateBundleProcess   Link | undefined If a Template Bundle Process is specified, Templates must be added to a Bundle before they can be checked in. The Bundle has to be of an appropriate type. That is: The Bundle’s Schema has to be associated with this Process Definition.