How to Create a Link to an Attachment
The format for the link for an attachment is: https://KINETIC_SERVER/SPACE_SLUG/submissions/SUBMISSION_ID/files/FIELD_NAME/FILE_INDEX/FILE_NAME
Where KINETIC_SERVER, SPACE_SLUG, SUBMISSION_ID, FIELD_NAME, FILE_INDEX, and FILE_NAME are replaced with the appropriate values for the attachment in question. So to display an image the user has upload in the submission back to them, it could be:
<img src="https://kinops.io/8591875/submissions/0422cb91-70b5-11e7-b824-ffc9a0307dfe/files/Attachment/0/refkell_melrakki_badge2.jpg">
Note: The original permissions for the submission are applied. This could be problematic when, for example, you want to make an attachment accessible from one task to the next in a workflow. For this, it might be better to use the copy attachment handler to actually copy the attachment into the new item and make it read-only.
Updated almost 2 years ago