Forum Discussion

NesreenAl-Khamm's avatar
NesreenAl-Khamm
Community Member
2 months ago

Opening hyperlinked files in SL 360

Greetings,

I need to open a hyperlinked file in a published course as a PDF document that automatically downloads rather than automatically opening in a new tab with a unique link. Can you tell me how to do this? I'm using both Chrome and Microsoft Edge web browsers.

Thanks

Nesreen

  • Hi NesreenAl-Khamm  I'm afraid Storyline does not provide the configuration options to allow you to make the document a download rather than opening in a new window. It would need the download attribute to work:

    <a href="filename.pdf" download="custom-filename.pdf">Download</a>

    The simplest solution would be to add the file to a *.zip file. As a browser cannot render a zip file, it is forced to download it. As the document is a PDF, and modern browsers can render PDF, they will always open the document if the link doesn't feature the download attribute.

    • NesreenAl-Khamm's avatar
      NesreenAl-Khamm
      Community Member

      Thank you very much Sam for your feedback which confirms our understanding of the use of the hyperlinked file in SL 360.