Use the AQ_DocumentLink container if you want to provide your users with a link that allows them to download a generated Document. |
The Document will be generated when the user clicks the download link.
Requirements
For documents to be generated (and this container to work) the Document Renderer Service is needed, you have to set this up and the Document Renderer Client component has to be configured.
Parameters
Name | Description | Type | Required |
---|---|---|---|
asset-name | The asset which is used to display the link text (name is without quotes). | Asset name | Yes |
asset-type | The format for the asset-name. This is standard Text (without quotes). | String | Yes |
document-name | The name of the document that will be generated, name should be between double quotes, e.g. "Document". Either this parameter or the page-name parameter must be given. | Expression | No |
page-name | The name of the page that will be generated, name should be between double quotes, e.g. "Document". Either this parameter or the document-name parameter must be given. | String | No |
document-type | The document type of the output file, e.g. "pdf". This must be enclosed in double quotes. | String | Yes |
optional-parameters | Optional text to append to the link. This must be enclosed in double quotes. | String | No |