SetPPMetadata(doc_handle, metadata_name, value);
doc_handle
metadata_name
A string specifying the metadata name associated with the current document.value
A string specifying the value of the metadata associated with the current document.Sets metadata of string type for the document specified in the doc_handle parameter returned by either the GetFirstPPDoc() or the GetNextPPDoc() function.
Note: If the metadata is not used with enveloping or sorting, the metadata must be declared with the DeclareMetadata() function at Before Job level.
num<>0 $doc_id = GetFirstPPDoc();while(num($doc_id) > 0){$ret = SetPPMetaData ($doc_id, "city", "Prague");$doc_id = GetNextPPDoc($doc_id);}
OpenText StreamServe 5.6 | Updated: 2013-03-01 |