Forum Discussion
Creating downloadable pdf files in Storyline - an update on earlier methods
๐ณ๐๐พ๐๐พ ๐๐บ๐๐พ ๐ป๐พ๐พ๐ ๐๐บ๐๐ ๐พ๐๐ผ๐พ๐ ๐ ๐พ๐๐ ๐๐๐๐๐ ๐๐๐พ๐ ๐๐๐พ ๐๐พ๐บ๐๐ ๐๐ ๐ผ๐๐พ๐บ๐๐๐๐ ๐๐ฝ๐ฟ ๐ฟ๐๐ ๐พ๐ ๐ป๐ ๐๐๐๐๐ ๐ฉ๐บ๐๐บ๐ฒ๐ผ๐๐๐๐ ๐ฟ๐๐๐ ๐๐๐๐๐๐ ๐ฒ๐๐๐๐๐ ๐๐๐พ (๐พ.๐. Saving Storyline Variables to a PDF - Articulate Storyline Discussions - E-Learning Heroes) ๐บ๐๐ฝ ๐จ ๐๐บ๐๐พ ๐๐บ๐ฝ ๐๐พ๐ ๐ ๐ฟ๐๐๐ ๐๐บ๐๐ ๐๐พ๐๐๐พ๐ ๐๐ ๐๐๐๐ ๐๐๐๐พ ๐๐๐พ๐ ๐จ ๐๐บ๐ ๐๐๐๐๐๐บ๐ ๐ ๐ ๐๐๐๐๐๐ ๐๐ ๐ฟ๐๐๐๐๐พ ๐๐ ๐๐๐ ๐ฟ๐๐ ๐๐๐๐พ๐ ๐ฟ.
๐ฌ๐๐๐ ๐๐ฟ ๐๐๐พ ๐บ๐๐๐๐ผ๐ ๐พ๐ (๐ ๐๐๐พ ๐๐๐พ ๐๐๐พ ๐บ๐ป๐๐๐พ) ๐บ๐๐พ ๐ฟ๐บ๐๐๐ ๐ ๐๐ ๐ฝ ๐๐๐ ๐บ๐๐ฝ ๐บ๐ฝ๐๐๐ผ๐บ๐๐พ ๐๐๐๐๐ ๐๐๐พ ๐ฉ๐บ๐๐บ๐ฒ๐ผ๐๐๐๐ ๐ผ๐๐ฝ๐พ ๐ ๐๐ป๐๐บ๐๐ "๐๐๐ฏ๐ฝ๐ฟ". ๐ ๐๐๐๐๐ผ๐บ๐ ๐บ๐๐๐๐๐บ๐ผ๐ ๐๐๐๐ ๐ฝ ๐ป๐พ ๐๐ ๐ผ๐บ๐๐๐๐๐พ ๐๐๐๐ ๐ ๐พ๐บ๐๐๐พ๐'๐ ๐๐๐๐๐ ๐๐๐๐๐ ๐๐พ๐๐ ๐พ๐๐๐๐ ๐๐บ๐๐๐บ๐ป๐ ๐พ๐ ๐๐ ๐ฒ๐๐๐๐๐ ๐๐๐พ - ๐บ๐ ๐๐๐พ ๐พ๐๐ฝ ๐๐ฟ ๐๐๐พ ๐ผ๐๐๐๐๐พ ๐๐๐ ๐๐๐ผ๐ ๐๐ฝ๐พ ๐บ ๐ป๐๐๐๐๐ ๐๐๐บ๐ ๐๐๐๐๐๐พ๐๐ ๐๐๐๐พ ๐ฉ๐บ๐๐บ๐ฒ๐ผ๐๐๐๐ ๐๐๐๐ผ๐ ๐๐๐๐ ๐ฝ ๐๐๐พ๐ ๐๐พ๐๐๐๐พ๐๐พ ๐๐๐พ ๐ฒ๐๐๐๐๐ ๐๐๐พ ๐๐บ๐๐๐บ๐ป๐ ๐พ๐, ๐๐พ๐บ๐ฝ ๐๐ ๐บ ๐๐๐ ๐๐ ๐๐๐ ๐๐๐บ๐๐พ ๐๐ฟ ๐บ ๐๐ฝ๐ฟ ๐ฟ๐๐ ๐พ ๐๐บ๐๐พ, ๐๐๐๐พ๐๐ ๐๐๐พ ๐๐พ๐๐๐๐๐พ๐ฝ ๐๐พ๐๐ ๐บ๐ ๐๐๐พ ๐บ๐๐๐๐๐๐๐๐บ๐๐พ ๐ ๐บ๐๐ฝ ๐ ๐ผ๐๐๐๐ฝ๐๐๐บ๐๐พ๐ ๐๐ ๐๐๐พ ๐๐บ๐๐พ, ๐บ๐๐ฝ ๐๐๐พ๐ ๐ผ๐บ๐ ๐ ๐บ ๐ฟ๐๐๐ผ๐๐๐๐ ๐๐ "๐๐บ๐๐พ" ๐๐๐พ ๐๐พ๐๐๐ ๐๐บ๐๐ ๐ผ๐๐๐๐ ๐พ๐๐พ๐ฝ ๐๐ฝ๐ฟ.
๐ณ๐๐พ ๐ ๐พ๐บ๐๐๐พ๐ (๐ฝ๐พ๐๐พ๐๐ฝ๐๐๐ ๐๐ ๐๐๐พ๐๐ ๐ป๐๐๐๐๐พ๐) ๐๐๐๐ ๐ฝ ๐ป๐พ ๐๐๐พ๐๐พ๐๐๐พ๐ฝ ๐๐๐๐ ๐บ๐ ๐๐๐๐๐๐ ๐๐ '๐๐บ๐๐พ' ๐๐ '๐ฝ๐๐๐๐ ๐๐บ๐ฝ' ๐๐๐พ ๐ฟ๐๐ ๐พ.
๐ข๐๐พ๐บ๐๐๐๐ ๐๐๐ ๐๐๐๐ ๐พ ๐๐บ๐๐พ ๐๐ฝ๐ฟ'๐ ๐๐บ๐ ๐ผ๐๐๐๐ ๐๐ผ๐บ๐๐พ๐ฝ - ๐ป๐๐ ๐บ๐ ๐๐ ๐๐๐๐๐๐ป๐ ๐พ. ๐จ'๐๐พ ๐๐พ๐๐๐๐๐บ๐ ๐ ๐ ๐ฝ๐๐๐พ ๐๐บ๐๐ ๐๐๐ผ๐ผ๐พ๐๐๐ฟ๐๐ ๐๐๐๐๐พ๐ผ๐๐ ๐๐๐๐๐ ๐๐๐๐ ๐บ๐๐๐๐๐บ๐ผ๐ ๐ฟ๐๐ ๐ฝ๐๐๐๐ ๐๐บ๐ฝ๐๐๐ ๐ผ๐๐๐๐๐พ ๐๐๐๐พ๐, ๐๐๐๐๐พ๐ ๐๐พ๐๐๐ ๐๐ ๐๐ ๐ผ๐พ๐๐๐๐ฟ๐๐ผ๐บ๐๐พ๐.
๐ฆ๐ผ ๐๐ต๐ ๐ฎ๐บ ๐ ๐ป๐ผ๐ ๐ฎ๐ฑ๐๐ผ๐ฐ๐ฎ๐๐ถ๐ป๐ด ๐ฎ ๐ฑ๐ถ๐ณ๐ณ๐ฒ๐ฟ๐ฒ๐ป๐ ๐ฎ๐ฝ๐ฝ๐ฟ๐ผ๐ฎ๐ฐ๐ต?
๐ถ๐พ๐ ๐ , ๐ ๐๐๐พ ๐๐๐พ ๐บ๐๐๐๐ผ๐ ๐พ๐, ๐๐๐ฏ๐ฝ๐ฟ ๐๐ ๐บ ๐ ๐๐ป๐๐บ๐๐ ๐๐๐บ๐ ๐๐บ๐ ๐ป๐พ๐พ๐ ๐บ๐๐๐๐๐ฝ ๐๐๐๐พ ๐๐๐๐พ. ๐จ๐ ๐ฝ๐๐พ๐ ๐บ ๐๐๐๐ฝ ๐๐๐ป ๐บ๐๐ฝ ๐๐๐๐๐๐บ๐๐ฝ๐ ๐๐ฟ ๐ฉ๐บ๐๐บ๐ฒ๐ผ๐๐๐๐ ๐๐๐๐๐๐บ๐๐๐พ๐๐ ๐๐พ๐ ๐ ๐๐ ๐๐. ๐จ๐ ๐ผ๐บ๐ ๐ผ๐๐พ๐บ๐๐พ, ๐บ๐๐ฝ ๐๐บ๐๐พ ๐๐ฝ๐ฟ'๐ ๐๐๐๐ ๐ฟ๐๐๐พ. ๐ง๐๐๐พ๐๐พ๐, ๐บ ๐๐๐๐พ ๐๐พ๐ผ๐พ๐๐ ๐ฉ๐บ๐๐บ๐ฒ๐ผ๐๐๐๐ ๐ ๐๐ป๐๐บ๐๐ "๐๐ฝ๐ฟ-๐ ๐๐ป" ๐๐บ๐ ๐บ ๐ซ๐ฎ๐ณ ๐๐๐๐พ ๐ฟ๐๐๐ผ๐๐๐๐๐บ๐ ๐๐๐. ๐จ๐ ๐๐บ๐๐๐๐ผ๐๐ ๐บ๐, ๐๐ ๐ผ๐บ๐
๐๐๐ฝ๐๐ฟ๐ ๐พ๐๐๐๐๐๐๐ ๐๐ฝ๐ฟ'๐
๐ผ๐๐พ๐บ๐๐พ, ๐ฟ๐๐ ๐ ๐บ๐๐ฝ ๐ฟ๐ ๐บ๐๐๐พ๐ ๐๐ฝ๐ฟ ๐ฟ๐๐๐๐
๐บ๐ฝ๐ฝ, ๐๐๐๐พ๐๐ ๐บ๐๐ฝ ๐๐พ๐๐๐๐พ ๐๐บ๐๐พ๐ ๐ฟ๐๐๐ ๐บ ๐๐ฝ๐ฟ
...๐บ๐๐ฝ ๐บ ๐๐๐๐ ๐พ ๐ ๐๐ ๐๐๐๐พ.
๐ณ๐๐๐ ๐๐พ๐บ๐๐ ๐๐๐บ๐ ๐๐๐๐๐พ๐บ๐ฝ ๐๐ฟ ๐๐บ๐๐๐ฟ๐๐ ๐ ๐ ๐๐๐๐๐๐๐ ๐๐๐ ๐๐๐พ๐๐พ ๐๐๐ ๐๐พ๐พ๐ฝ ๐๐ ๐๐ ๐บ๐ผ๐พ ๐๐๐พ ๐๐พ๐๐ ๐๐ ๐พ๐บ๐ผ๐ ๐๐บ๐๐พ ๐๐ฟ ๐๐๐พ ๐๐ฝ๐ฟ, ๐๐๐ ๐ผ๐บ๐ ๐๐๐๐๐ ๐ ๐ฝ๐พ๐๐๐๐ ๐บ ๐๐ฝ๐ฟ ๐ฟ๐๐๐, ๐๐บ๐๐พ ๐๐๐พ ๐ฟ๐๐พ๐ ๐ฝ๐ ๐บ๐๐ฝ ๐๐๐พ๐ ๐๐๐พ ๐๐๐พ ๐๐พ๐๐๐๐พ๐๐พ๐ฝ ๐๐บ๐๐๐บ๐ป๐ ๐พ๐ ๐ฟ๐๐๐ ๐ฒ๐๐๐๐๐ ๐๐๐พ ๐๐ '๐ฟ๐๐ ๐ ' ๐๐๐ ๐๐๐พ ๐ฟ๐๐๐.
๐ถ๐พ ๐๐บ๐๐พ ๐ป๐พ๐พ๐ ๐บ๐๐บ๐๐พ ๐๐ฟ ๐๐ฝ๐ฟ-๐ ๐๐ป ๐ฟ๐๐ ๐๐๐๐พ ๐๐๐๐พ ๐ป๐๐ ๐๐พ๐๐พ๐ ๐ฟ๐๐๐๐ฝ ๐๐๐พ ๐๐๐๐พ ๐๐ ๐ฝ๐ ๐บ๐๐๐๐๐๐๐ ๐บ๐ป๐๐๐ ๐๐ (๐๐๐๐๐ ๐๐๐พ ๐๐ ๐ฝ ๐๐๐๐๐๐บ๐๐๐พ๐๐' ๐บ๐ฝ๐บ๐๐พ "๐๐ฟ ๐๐๐๐ ๐ผ๐๐ฝ๐พ ๐๐ ๐๐๐๐๐๐๐ ๐ฝ๐๐'๐ ๐๐๐ ๐บ๐๐ฝ ๐ฟ๐๐ ๐๐"). ๐ฎ๐๐พ๐ ๐๐๐พ ๐ข๐๐๐๐๐๐๐บ๐ ๐ป๐๐พ๐บ๐ ๐๐-๐ป๐พ๐๐๐พ๐พ๐ ๐ผ๐พ๐ ๐พ๐ป๐๐บ๐๐๐๐๐ (๐บ๐๐ฝ ๐๐๐๐ป๐บ๐ป๐ ๐ ๐ฟ๐๐พ๐ ๐พ๐ฝ ๐ป๐ ๐๐๐ ๐๐๐ผ๐ ๐ฟ๐พ๐๐๐๐๐พ ๐๐๐๐๐๐ ๐๐ ๐๐ผ๐ผ๐บ๐๐๐๐๐) ๐๐พ ๐๐พ๐๐พ ๐บ๐ป๐ ๐พ ๐๐ ๐๐พ๐ ๐บ ๐๐พ๐ (๐ป๐๐ ๐๐พ๐๐ ๐ป๐บ๐๐๐ผ) ๐ฝ๐พ๐๐๐๐๐๐๐บ๐๐๐๐ ๐๐๐๐๐๐๐ ๐๐๐๐ผ๐ ๐ผ๐บ๐ ๐ป๐พ ๐๐๐พ๐๐พ๐ฝ ๐๐พ๐๐พ:
https://demo5.profilelearning.com
๐ฎ๐, ๐๐๐๐ ๐๐๐'๐ ๐บ ๐๐พ๐๐ ๐๐๐๐๐พ๐๐๐๐๐พ ๐ฝ๐พ๐๐ - ๐ป๐๐ ๐๐พ ๐บ๐๐พ ๐๐๐๐๐๐๐ ๐๐ ๐๐ - ๐บ๐๐ฝ ๐๐๐ ๐ ๐๐๐ป๐ ๐๐๐ ๐๐๐ ๐๐ ๐๐๐๐พ๐พ ๐๐๐๐พ ๐บ๐๐๐๐ผ๐ ๐พ๐ ๐พ๐๐๐ ๐บ๐๐๐๐๐ ๐บ ๐ป๐๐ ๐๐๐๐พ ๐บ๐ป๐๐๐ ๐๐๐๐ ๐ผ๐๐ฝ๐พ ๐ ๐๐ป๐๐บ๐๐ ๐บ๐๐ฝ ๐บ๐ ๐๐ ๐บ๐ป๐๐๐ '๐๐๐ฝ๐พ๐๐ ๐ฉ๐บ๐๐บ๐ฒ๐ผ๐๐๐๐'
๐๐๐๐ ๐๐ผ ๐๐ต๐ฒ๐ ๐๐ผ๐๐ฟ ๐ฎ๐ฝ๐ฝ๐ฒ๐๐ถ๐๐ฒ ๐ฎ ๐น๐ถ๐๐๐น๐ฒ ๐ณ๐๐ฟ๐๐ต๐ฒ๐ฟ ๐๐ผ ๐ฏ๐ผ๐ผ๐ธ๐บ๐ฎ๐ฟ๐ธ ๐๐ต๐ถ๐ ๐ฝ๐ผ๐๐ - ๐๐ฒ ๐ฎ๐น๐๐ผ ๐ต๐ฎ๐๐ฒ ๐๐ต๐ฒ ๐ฎ๐ฏ๐ผ๐๐ฒ ๐ฑ๐ฒ๐บ๐ผ๐ป๐๐๐ฟ๐ฎ๐๐ถ๐ผ๐ป ๐๐ผ๐ฟ๐ธ๐ถ๐ป๐ด ๐ถ๐ป ๐ฅ๐๐ฆ๐....
86 Replies
- JohannesBurkeCommunity Member
Hi there,
I've been trying to create this PDF here and have been able successfully tweak it.
However, I've run into a separate issue: I was trying to flatten the PDF (so as to prevent it being changed after it was downloaded). However, this command didn't work (in my case):
form.flatten();
Does anyone know what can be done? Appreciate any support!
Thanks a lot,
John
- SarahNewman-804Community Member
Is anyone else having issues with this suddenly not working in Review? I haven't loaded to my LMS to test there, but I've tried uploading the original NoteTaker story with the original PDF in its root folder into Review and the button does nothing now. That makes me think that it isn't a problem with the JavaScript in the course I'm working on. Thoughts?
- PhilMayorSuper Hero
Have you checked the console for an error?
Sent from my iPhone- SarahNewman-804Community Member
I'm a super beginner at programming, so I'm not sure how to do that. What I know is that I made no changes to the storyline file or the PDF that I downloaded from the author and when I publish the Storyline file for Review (adding PDF to zip file), the Submit button does nothing.
- JohannesBurkeCommunity Member
Still working here, but I'm using a different PDF library.
- JohannesBurkeCommunity Member
I recommend doing the following:
- Open console (on your browser (e.g. Chrome)).
- Check the error message (you'll likely receive).
- Copy your Java Script code into Chat GPT and ask Chat GPT to debug it.
I've had some pretty cool experiences with Chat GPT this way. I'd say it's quite likely it'll be able to help you, too.
- PhilMayorSuper Hero
Agree about opening the console.
Chat GPT may solve it if not post back
- SarahNewman-804Community Member
I found the console and looked at the Storyline file in Review. I see an error saying that it failed to load the PDF "Failed to load resource: the server responded with a status of 403 ()" and there's a web address. I clicked it, which led to this message:
This XML file does not appear to have any style information associated with it. The document tree is shown below.<Error><Code>AccessDenied</Code><Message>Access Denied</Message><RequestId>Q4NR5B9HSKPHYTRB</RequestId><HostId>gM7J3TsxetllsJbjTfxVjvg3CSCbJtSyB+n3Xl9x6UGwJZwLQoVimuZBn9fYhHNymhHqPCPmUrI=</HostId></Error> - PhilMayorSuper Hero
403 the resource is missing did it upload?
- SarahNewman-804Community Member
It looks like it uploaded just fine? I did "Upload New Version" with the zip file, which I had already pasted the PDF file into. The note taker opens up just fine, but when I enter text and hit submit, nothing happens.
- PhilMayorSuper Hero
Sorry my mistake 403 is forbidden access. So it maybe being blocked. You can check in the console if the file is there.
Sent from my iPhone
- JohnCooper-be3cCommunity Member
Hi Sarah
Sorry you are having difficulties with the demo. I must admit I hadn't tried it in Articulate Review, as I load demos on my own cloud server - but I just tested it and it seemed to work fine. As Phil says, the 403 error indicates there's some problem opening the file rather than the file being missing.
My zip file content looks like this:
with the "Notes Template.pdf" in the root folder with the story,html file.
I'm not sure what else I can suggest.
If the problem persists I can maybe record a short video of my screen as I load the demo to Review. If that would help?
- JohnCooper-be3cCommunity Member
Just a quick thought. The NotesTemplate.pdf file must be a pdf form file as the JavaScript reads the field information from the file. You could just check the file opens OK as a form... I doubt that is the problem - but worth checking...
- SarahNewman-804Community Member
The specifics: I'm working on a tool that allows learners to create a job plan based on the specifics of an installation/jobsite. They answer questions and the course/tool builds out a plan using variables.
I've gotten the full plan to populate on a single slide, and I can print that slide. My preference, though, is to send the plan to a PDF using JavaScript. I publish for Review locally and add the PDF form to the zip file. When I upload it and check the JavaScript by clicking the button it's attached to, I get this error:
AccessDenied
Access Denied0250CKGY273YHNBTyseYqDxfnAUPrgDNqmEbuhDBQbOcME2zQKaxYYocD9/yxbtXXw0tQWwvUaf27zQymsPEFvA9wYiyRPyf5fikeQ==Any thoughts about why this might be happening? I'm attaching the file in case you are able to look at it. Help would be much appreciated! I'll keep messing with a test file and see if I can figure it out in the meantime. :)
Hello Sarah,
Thanks for sharing a copy of your published output. It would be helpful if you could also share a copy of your Storyline 360 .story project file so members of the community can open your course and review how you have your slides setup.
Based on the error message that you encountered, its possible that the JavaScript code you added is trying to access a file that's in a secure location. You can troubleshoot this by moving your file to a publicly accessible location such as Google Drive or Amazon S3 and updating the JavaScript code to see if this helps.
- ToddVillariCommunity Member
Thanks for the code. I used it to create 10 downloadable PDFs within a single Storyline each with 2 to 5 prompt responses. This worked flawlessly with multiple pages too. Much appreciated.
- HeatherVogt-d32Community Member
Todd,
Which code did you use? I have no idea where to start with any of this, so working code is a great place to begin!
Related Content
- 8 months ago
- 2 months ago