Script functions reference > Script functions in alphabetical order > G > GetPPMetadata

GetPPMetadata
Syntax
GetPPMetadata(docHandle, metadataName);
docHandle
An identifier specifying a document. You can retrieve the identifier by using either the GetFirstPPDoc() or the GetNextPPDoc() function.
metadataName
Description
Returns the value of the specified metadata for the document specified by the docHandle parameter.
Returns
str
The value of the specified metadata. If the specified metadata is not found, an empty string is returned.
Example
$doc_handle=GetFirstPPDoc();
$subject=GetPPMetadata($doc_handle, "invoice_no");
Result:
$subject = "1234"
OpenText StreamServe 5.6 Updated: 2013-03-01