vdl-action-attachment-download
Trigger the download of an attachment in the user's browser. The value passed into this action will return unchanged.
Required parent element
Must be contained within one of the following elements:
Example
<vdl-action-group name="triggerAttachmentDownload">
<vdl-action-attachment-download scope="app" tag="my-app-data-tag"></vdl-action-attachment-download>
</vdl-action-group>
Attributes
filename | The filename used to locate the attachment to download. You need to either specify "tag" or "filename" to locate the attachment. | accepts expression | |
---|---|---|---|
scenario | The scenario to download the attachment from when scope="scenario", defaults to the first scenario. You can specify either a scenario id or the current position of the scenario on the shelf. | accepts expression | |
scope | The scope of the attachment to download. Either "app" or "scenario". Defaults to "scenario". | ||
tag | The tag used to locate the attachment to download. You need to either specify "tag" or "filename" to locate the attachment. | accepts expression |