The next table presents the properties of the Download element.

Property

Description

Optionality

Default value

Obs.

File Content

Name of the variable that holds the content of the file. You can type the variable directly or through the Expression editor.

Mandatory

 

The type of the variable must be Binary Data.

File Name

Default file name used if  the Save operation is prompted. You can type the file name directly or through the Expression editor.

Mandatory

 

 

Mime-Type

Identifies the type of content of the attached file.

 

"application/octet-stream"

You must change this property if you want to open the file directly in the Web browser.

Examples:

You can check more possible Mime types in the MSDN site.

Save to Disk

Boolean value that indicates whether to save a file to the disk of the end-user's device:

  • Yes: the file is saved to disk;

  • No: the browser renders the file.

Mandatory

Yes

When this property is set to 'No' (the file is rendered) and, if the Mime-type is not supported by the browser:

  • Desktop browsers always download the file;

  • Android browsers ignore the file, that is, neither downloading nor rendering it.

See Also

Download Description