SetRawMd

Syntax

SetRawMdResult SetRawMd(OdId tObject, SetRawMdArg tArg)

Parameters

tObject. Repository object moniker.

tArg. Operation execution parameters.

Description

The SetRawMd operation is used to change repository object metadata.

Comments

In the current version this operation is used to load a file to the Document repository object. To execute the operation, determine moniker of the repository document, to which the file must be loaded, in the tObject field. Use the tArg.meta.doc field to specify the stream connected with the file that will be loaded to the document. Also determine the doc field in the tArg.pattern pattern. The operation results in the moniker of the changed document. If the metaGet field is determined in execution parameters, execution results in the obtained refreshed document metadata.

Example

The example of loading a new file to repository document. The request contains document moniker. The response contains the changed document moniker.

SOAP

JSON

C#

See also:

Working with Object Metadata