This shows you the differences between two versions of the page.

Link to this comparison view

action type - download a file [2016/09/14 14:19] (current)
Line 1: Line 1:
 +====== Download a File ======
 +Finds a file or files in the system stored in [[Field Type - File Attachment|file attachment fields]] via a [[Query Builder|query]] and causes the client browser to download them. This action belongs on a "Link is clicked"​ [[Automation Trigger|automation trigger]].
 +===== Explanation =====
 +The most common use of the download a file action is to do some pre or post processing when sending the user a file or to provide a different interface to the download capabilities of the system.
 +Example : Suppose you have an application with the [[Table|table]] Files and the table File Download History in it.  When a user clicks on a [[Field Type - Link|link]] to download the file you want to create a record of the type File Download History and then send the file to the user.
 +===== Settings =====
 +==== File to Download ====
 +Use the query builder to locate the file field that will contain the files to send to the user.  If more than one file is found a zip file will be created and delivered to the end user that contains all the files found.
 +{{ ::​action_file_to_download.png?​direct |}}
 +==== Describe this action ====
 +Useful as a comment, this description will overwrite the automatically generated description in the [[Action Manager|Action Manager]].
action type - download a file.txt ยท Last modified: 2016/09/14 14:19 (external edit)
Copyright WorkXpress, 2021