SortSegDoc(value_1[, value_2,..value_n]);
value_1,..value_N
• the DeclareMetadata() functionWhen the SortSegDoc() function is used with an envelope key the EnvelNr metadata key should be part of the sort otherwise the envelope definition will not be retained.
0 num<>0 Job Begin script:$ret = DeclareMetadata("zip", "N", "A");Post-processor Job Begin script:$doc_id = GetFirstSegDoc();while(num($doc_id) > 0){$zip = 12345SetSegMetadata($doc_id, "zip", $zip);$doc_id = GetNextSegDoc($doc_id);}$ret = SortSegDoc("zip", "EnvelNr");
OpenText StreamServe 5.6 | Updated: 2013-03-01 |