You are viewing the documentation for Blueriq 17. Documentation for other versions is available in our documentation directory.

What is it for?

The AQ_DocumentLink is used to generate and then display a download link to generate and download the Document element.


The AQ_DocumentLink container shows a link where a Blueriq document can be downloaded. The Document will be generated once the user clicks the download link.

Parameters

NameDescriptionTypeRequired
asset-nameThe asset which is used to display the link text (name is without quotes).Asset nameYes
asset-typeThe format for the asset-name. This is standard Text (without quotes).StringYes
document-nameThe 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.ExpressionNo
page-nameThe 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.StringNo
document-typeThe document type of the output file, e.g. "pdf". This must be enclosed in double quotes.StringYes
optional-parameters

Optional text to append to the link. This must be enclosed in double quotes.

String

No

4 Comments

  1. I just learned that the document-name is also the name of the actual Document in Blueriq which will be generated for download. Is this information correct?

    If not where and how do we specify which document we want to generate and can we specify a custom flow for generation (to load more information to the profile for instance).

  2. Unknown User (m.schadd)

    That information is correct. We have received a feature request for this before, so please create a new one and state your urgency so that we can re-prioritize. As an alternative, you can generate a document using Service call type: AQ_Document_Generate service to upload a file to a (memory) connection, and give it a name there. The end user can then download it using the Container type: AQ_File_Download container.

  3. Unknown User (b.de.keulenaar)

    What are the possible output files within Blueriq, only "pdf" is mentioned in the documentation?

    1. Unknown User (a.jansen)

      Hi Unknown User (b.de.keulenaar), also communicated about this over email. PDF indeed, as in most use cases our customers don't want to hand out editable documents to their customers. Think for example of an insurance policy document, or the summary of a subsidy application.