GetRawMd

Syntax

Rawmd GetRawMd(OdId tObject, RawMdPattern pattern)

Parameters

tObject. Repository object moniker.

pattern. The pattern that will be used to get object metadata.

Description

The GetRawMd operation is used to get repository object metadata.

Comments

This operation enables the user to get internal object views in the form as they are stored in repository system tables. To execute the operation, in the tRub parameter specify the repository object moniker, which internal instance must be obtained. The moniker can be obtained on executing the GetObjects operation. To get XML view of object, set the pattern.md field to True. Operation execution results in the internal object view.

If the work is executed with the Document object, the file saved to this document can be obtained as a stream. To do this, set the pattern.mod field to True. The obtained stream can be saved to the file or used at user's discretion.

Example

The example of getting form metadata. The request contains the form instance moniker. The response contains its internal XML view.

SOAP

JSON

C#

See also:

Working with Object Metadata