CurrMetadata(metadataName);
metadataName A metadata name connected to the current document. You can use metadata specified in the Project or the following predefined metadata:
• MailMach – the mailing machine used for current document.
• EnvelNr – the envelope number for the current document.
• NumSheets – the number of sheets in the current document.
• NumEnvelopes – the number of envelopes for the current document.
• NumInserts – the number of inserts for the current document.
• NumInsertEquivals – the number of insert equivalents, i.e. the number of normal sheets that the weight of the inserts corresponds to.
• ActualInserts – the insert numbers assigned to the current document.
• SplitPositions – the page numbers of the first page in each part of the document when it is split into more than one envelope.Returns the value of the specified metadata for the current document. The function can be used at the following post-processing scripting levels:The value (string) of the specified metadata. If the specified metadata is not found, an empty string is returned.$insertsActual = CurrMetadata("ActualInserts");Result;$insertsActual ="3;6;7"$num_of_tokens=StrTok($insertsActual,";",$arr1);arr1[0]=3arr1[1]=6arr[2]=7
OpenText StreamServe 5.6.2 | Updated: 2018-01-26 |