Skip to main content

๐Ÿงบ Material Download Link

Ever wanted to allow students to download materials from their status portal? Join to Materials and filter down to just the material key(s) you want to make downloadable. Put the following into a formula:

'/apply/download.pdf?part='
+ CONCAT('stream:', dbo.toGuidString([stream]))
+ '&h='
+ dbo.toGuidString(dbo.md5(convert(varbinary(max), concat('stream:', dbo.toGuidString([stream])) + dbo.salt())))

Example of a dictionary export intended for Liquid looping as a bulleted list of download links:

image.png

image.png