Vues :

Question:

How is it possible to change index values (meta data) using the Web Services?

Solution:

A document's metadata can be accessed using the Web Services performing the following steps:

DocumentServiceClient docClient = new DocumentServiceClient();
DocumentSession docSession = docClient.OpenDocument(fcSession, docId);
DocumentInfo docInfo = docClient.GetInfo(docSession);
// Retreiving the meta data of the document
MetaData myMetaData = docInfo.MetaData;

The document's index values are now available for changes in the object myMetaData. Calling the following methods the changed meta data can be written back to DocuWare finally: docClient.ModifyMetadata(docSession, myMetaData); docClient.CloseDocument(docSession);