Table of Contents

, , , , ,

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.

Syntax

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

Example

DOWNLOAD DOCUMENT AccountOpeningLetter DELETE AFTER 15

DISPLAY DOCUMENT, EXPORT DOCUMENT, PRINT DOCUMENT