Description
Download a file. Optionally confirm that you have downloaded it.
Download is similar to using set to show buttons and set state. Files to be downloaded are shown after the content. A message cannot be set and files cannot be uploaded.
The following config properties are used.
title | Title for the form. |
content | Content to show above the download area. |
dataReference | Identifies the data node that holds the files to be downloaded. The files must have been localized to that data node. |
button | Buttons to show. Follows the same format as the Set method. Use button and state to create confirmation logic. |
buttonContent | Content to show above buttons. |
state | What state to set. Follows the same format as the Set method. |
linkClass | Class to add to the link, for example to turn it into a button. |
linkPrefix | Prefix to put in front of the file name (e.g. an icon). Defaults to a download icon. Set to null or "" to suppress. |
showSize | Whether to show the size. Default is true. Date is always shown with the table. |
format |
Format for the download area:
|
If there are no files then a message is shown describing this.
If you want to suppress the download page if there are no files, precede the download step with a switch that checks for data existence.
Member Type List
Tab/Sequence | Weight | Member Type |
---|---|---|
Basic/ | 0 | |
Basic/ | 0 | |
Basic/description | 0 | |
Basic/tagList | 0 | |
Config/ | 0 | |
Flow rules/flowRules | 0 |