Custom document metadata and predefined system metadata can be sent as HTTP header fields and extracted to variables by the StreamServer application.To enable the use of custom metadata in HTTP header fields, the metadata must be stored in the archive.strs-document-metadata-<metadata name>
Example 2 $customer_name=GetHttpHeaderValue(Customer name);$invoice_no=GetHttpHeaderValue(Invoice number);Some predefined system metadata must be stored in the archive to enable the use of it in HTTP header fields. Other metadata are always available to use in HTTP header fields.
Example 3 In this script example, the values of predefined system metadata External job ID, Sender number and Document type are extracted to variables.$ExtJobID=GetHttpHeaderValue("FixedMetaData.ExternalID");$Sender=GetHttpHeaderValue("FixedMetaData.Sender");$doctypename=GetHttpHeaderValue("strs-document-type");Predefined system metadata listed in the table below are available if they are stored in the archive.
FixedMetaData.ExternalID FixedMetaData.Receiver FixedMetaData.Sender BlobInfo.ContentType BlobInfo.ExpiringDateTime BlobInfo.TotalBlobSize Part.TrackerID Part.ApplicationDomainID
Part.PartID BlobInfo.CreationDateTime DocumentControlFlags DeviceIndependentControlFlags strs-document-type
OpenText StreamServe 5.6 | Updated: 2013-03-01 |