DocumentJournalManager.<Document journal name>.GetTemplate

Syntax:

GetTemplate(<Template>)

Parameters:

<Template> (required)

Type: String; MetadataObject: Template.
Template name, as it is specified in the designer, or metadata description object of the required template.

Returned value:

Type: SpreadsheetDocument; TextDocument; another object, which can be a template.

Description:

Obtains one of the templates that are defined in documents journal configuration.

Availability:

Server, thick client, external connection, Mobile application (server).

Example:

TableTemplate = DocumentJournals.Common.GetTemplate("Register");

    

1C:Enterprise Developer's Community