Script functions reference > Script functions in alphabetical order > S

S
SaveCurrMetadata
Syntax
SaveCurrMetadata(metadata_name);
Description
Saves the metadata for the current document in the repository. The function can be used at the following post-processing scripting levels:
Before and after document, process and page.
Note:
If the metadata is not used with enveloping or sorting, the metadata must be declared with the DeclareMetadata() function at Before Job level.
Returns
num<>0
Example
$ret = SaveCurrMetadata("zip");
OpenText StreamServe 5.6 Updated: 2013-03-01