Expiring Links

If you are concerned about customers sharing links that are hosted inside of your course, then expiring links are for you. This feature allows you to set your links up to self-destruct after an amount of time that you choose.

To do this, you will need to place some code into the html editor.


Here’s the code you will need if you want to use an expiring link with an image:

<a href="{{ asset.protect('YOUR_DOWNLOAD_FILE', '+30 minutes') }}" target="_blank">
<img src="YOUR_IMAGE_FILE" /></a>

***Replace YOUR_DOWNLOAD_FILE with the document you want the link pointing to***

***Replace YOUR_IMAGE_FILE with the image you want to link**


Here’s the code you will need if you want to use an expiring link with text:

<a href="{{ asset.protect('YOUR_DOWNLOAD_FILE', '+30 minutes') }}" target="_blank">Click here to download this file</a>
***Replace YOUR_DOWNLOAD_FILE with the document you want the link pointing to***

Here’s how you find your file names if they are in Summit Evergreen (You will need these file names to replace the highlighted portions)

  • In the left navigation menu, select “Content”, then “Media”
  • Upload your file
  • After you upload your file, you will see file information in the right pane – note that this screen doesn’t give you the full code you need, but here is where you can grab the file name

Was this article helpful?