In this section, we will analyze how to view and download the attachments of a form, as well as add and delete resources assigned to a specific form instance.
Get Attachments / Download Attachment
These actions are closely related, as the first allows listing all the attachments in the fields of a specific instance, and the second allows downloading all the files from the obtained list.
Let's look at the properties of the Get Attachments action:
Parameters
Direction
Data Type
Description
Stage from which the attachments are obtained
List of URLs to download the files
On the other hand, the Download Attachment action includes the following parameters:
Parameters
Direction
Data Type
Description
URL from which to download the file
Path where the downloaded file will be saved
These actions allow, respectively, adding and deleting a resource from a form instance. The type of resources managed through this method are not included in the form design but are added as external links with downloadable material:
The properties to define when uploading a new resource are:
Parameters
Direction
Data Type
Description
URL from which to download the file
Path where the file will be attached
To delete it, however, the following must be set:
Parameters
Direction
Data Type
Description
URL from which to download the file
Name of the resource whose attachment is to be deleted