tridion-sites-extensions-api-docs

Home > @tridion-sites/models > PublishLocationInfo

PublishLocationInfo class

Represents a publishing location information for the objects that reside in Structure Groups.

Signature:

export declare class PublishLocationInfo extends LocationInfo

Extends: LocationInfo

Constructors

Constructor Modifiers Description
(constructor)({ backendModel, …locationInfoArgs })   Constructs a new instance of the PublishLocationInfo class

Properties

Property Modifiers Type Description
_backendModel   BackendPublishLocationInfo  
getInternalModel   () => BackendPublishLocationInfo  
publishLocationPath   string | undefined Publish path of the container object, including its own directory/file name and extension.
publishLocationUrl   string | undefined <p>Publish URL of the container object.</p><p>The publish URL is formed by a concatenation of the context Publication’s PublicationUrl, the intermediary Structure Groups’ Directory (recursively) and the object’s own directory/file name and extension.</p>
publishPath   string | undefined <p>Publish path of the container object.</p><p>The publish path is formed by a concatenation of the context Publication’s PublicationPath and the intermediary Structure Groups’ Directory (recursively). The path does not include the object’s own directory/file name.</p>