DocumentObject.<Document name>.Metadata

Syntax:

Metadata()

Returned value:

Type: MetadataObject: Document.

Description:

Provides access to metadata description object of a document. Another way of getting the same value is through the global context property Metadata. For example: Metadata.Documents.ExpensesWayBill.

Availability:

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

Example:

For each Attribute In DocumentObject.Metadata().Attributes Do
    Message(Attribute.Presentation());
EndIf
;


    

1C:Enterprise Developer's Community