Script functions reference > Script functions in alphabetical order > S > SaveCurrMetadata

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.2 Updated: 2018-01-26