InformationRegisterManager.<Information register 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 the information register template.

Availability:

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

Example:

Tab = New SpreadsheetDocument;
Template = InformationRegisters.ExchangeRates.GetTemplate("TableOfCurrencies");
Tab.Put(Template.GetArea("Header"));
Tab.Show();


    

1C:Enterprise Developer's Community