Forum Discussion
DeveloperIgniti
3 years agoCommunity Member
Button trigger to open document will break if document has moved *and* Resources button is exlcuded from Player
Hi,
We have performed some tests and possibly discovered a condition under which button triggers to open documents will unexpectedly break.
Our test setup was as follows:
In a blank course d...
JoseTansengco
3 years agoStaff
Hello Developer Ignition,
Happy to help!
I believe this could be explained by the key differences between the two methods you are using to add the PDFs to your course.
- Using the 'Open URL/file' trigger opens a PDF directly via the destination link specified in the trigger. In most cases, these are PDF files that are hosted on an external site, and making the target of this trigger inaccessible will result in an error. Some users prefer to use this trigger in combination with adding the actual target as a resource to make the course less reliant on internet connectivity.
- Attaching the PDF file as a resource includes the actual PDF files in the published output of the course.
If you used the attach file as a resource method, then a local copy of the file is saved for the course even before you proceed to publishing it, which means you can add a PDF as a resource, delete the original, publish your course and the resource will still work as intended.
With that being said, can I ask if you are encountering any issues with your resources or PDF files? Note that errors are normal for a course that tries to access a PDF file hosted on an external site if the file has been moved or is no longer available.
Related Content
- 11 months ago
- 3 months ago
- 2 months ago