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

GetPPDocProperty
Syntax
GetPPDocProperty(docHandle, propertyName);
docHandle
An identifier specifying a document. You can retrieve the identifier by using either the GetFirstPPDoc() or the GetNextPPDoc() function.
propertyName
•
ppdocid – the Post-processor document ID.
•
ppjobid – the Post-processor job ID.
•
status – the document status.
•
priority – the document priority.
•
creationtime – the document creation time.
•
processtime – the document process time.
•
error – the document error.
•
pages – the number of logical pages in the document.
•
resrepository – the resource repository.
•
resserver – the resource repository server.
Description
Returns the value of the specified property for the document specified by the docHandle parameter.
Returns
The value of propertyName.
Example
$doc_handle=GetFirstPPDoc();
$subject=GetPPDocProperty($doc_handle, "ppdocid");
Result:
$subject=123
OpenText StreamServe 5.6 Updated: 2013-03-01