Print or display attachment file

This API call sends the file attached to a document to the printer or monitor.

Example API call

/servlets3/wietmsd?id=1521062759051&book=s1000d_bike_41&collection=default&target=utility&action=display_file&filename=att_1521041478673_1521041493681.txt

Parameters

ParameterDescription
idA session ID that is valid for this collection and publication combination.
book The name of the publication, such as s1000d_bike_41.
collectionThe name of the collection that the publication is registered in, such as default.
targetutility
actiondisplay_file
filenameThe unique file name under which the attachment is stored on the file system.

Returns

On success
<html>
     <script>document.location='/servlets3/wietmsd/working/tempatt_1521041478673_1521041493681.txt'</script>
     <body></body>
</html>
On failure
Returns nothing.