Skip to main content

Logic

 

Applies only to Web Applications
OutSystems

Download

Use the Download Tool to send a file to a user. This is an element that ends the action flow, so it is not possible to define new actions after it. If the Ajax Submit method is used to trigger the download, the download will not work.

Properties

Name Description Mandatory Default value Observations
File Content Holds the file selected by the user. Yes
File Name Text literal or expression with the name of the file, including the extension. Yes
Mime-Type Text literal or expression specifying the media type of the file. Yes "application/octet-stream" Example values:
– "application/x-msexcel";
– "application/msword";
– "application/pdf";
– "image/gif";
– "text/html";
– "video/avi";
– "audio/wav".
Save to Disk Set to Yes to allow the user to open or save the file. Yes Yes
  • Was this article helpful?