Rawmd GetRawMd(OdId tObject, RawMdPattern pattern)
tObject. Repository object moniker.
pattern. The pattern that will be used to get object metadata.
The GetRawMd operation is used to get repository object metadata.
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.
The example of getting form metadata. The request contains the form instance moniker. The response contains its internal XML view.
See also: