Creating a download link
Creating a download link
Last updated
Creating a download link
Last updated
You can create a download link using a few methods.
Add an object like a text field to the artboard, select it and then open the Element Panel.
In the Markup Before field enter the anchor tag information and in the Markup After field enter the end anchor tag.
Enter the path on the server to the file and add a download tag with the suggested file name.
The download attribute may not be supported on all browsers.
Some types of files (called mime types) are opened by the browser. You can see this sometimes happens that a PDF will open rather than download. You can fix this by modifying the headers on the server (out of scope of this document) or change the file type to something like zip.
Read more at the links below.