Forum Discussion

HongShu-2d122fd's avatar
HongShu-2d122fd
Community Member
15 days ago

JavaScript for downloading several slides

Hi everyone,

I’m currently working on a self-assessment survey where learners navigate through a series of Likert scale questions and receive customized results and recommendations (spread across several slides) based on their score range.

My SMEs have requested a feature to allow learners to click a button and download the content of these slides directly to their local computer. I’ve been exploring the possibility of using JavaScript to implement this functionality, but so far, I haven’t had much success.

Has anyone successfully used JavaScript for a similar task, or do you have suggestions for alternative approaches?

Thanks in advance!

  • Hi HongShu-2d122fd is this for Rise or Storyline? Just add a tag to your post indicating Rise/Storyline.

    When you say download, does this mean it needs to be downloadable as editable content, or could it be as simple as adding a print button to each slide, to allow the user to print the slide (to PDF) and save it to their computer?

    Another option is to use the File > Translation > Export to Word, and then tidy up the document and offer it as a download throughout the course as an entire document, or the individual pages as required. This, and the print solution are within the capability of anybody that uses Storyline (assuming Storyline) and would not require a JavaScript solution.

    • HongShu-2d122fd's avatar
      HongShu-2d122fd
      Community Member

      Hi SamHill , thank you for offering two solutions and yes this is for Storyline.

      I’m considering having the "download button" save customized content to learners' computer, which spans several slides at the end and also is tailored to the user's score.

      The second option sounds great, but I was wondering if the Export to Word functionality could capture learners' interactivity and tailored feedback, as they only receive customized results based on their choices on the Likert scales.

      Regarding the first option, the result page might extend to as many as seven to ten pages, which could be cumbersome for learners to navigate.

      Any tips on addressing those concerns would be appreciated!

      • SamHill's avatar
        SamHill
        Super Hero

        Hi HongShu-2d122fd I'm afraid there isn't anything to address those concerns. You won't be able to address all of your requirements using native functionality in Storyline. You would need to employ the services of a JavaScript programmer. It would likely be days of work if you are suggesting that a user should be able to download multiple slides of content including capturing the users dynamic content.