DOWNLOAD DOCUMENT

This action is very similar to the DISPLAY DOCUMENT action, but instead of displaying the document on the screen, the action always downloads the document to the machine of the user.

DOWNLOAD DOCUMENT (AttributeIdentifier( ) | Id( ) | StringLiteral( ) ( ) ) ][ DELETE AFTER INTEGER_LITERAL]

note

DELETE AFTER keyword can be used to specify a number of seconds after which the generated document will be deleted on the server for security reasons. If not specified, the document will be deleted when the user logs out. For example to delete the document after 15 seconds use the following:
DOWNLOAD DOCUMENT AccountOpeningLetter DELETE AFTER 15 
  • Last modified: 2023/05/09 01:33