Forum Discussion
Actions based on opening Resources?
Hello,
In a project I'm working on, there is an ask to have two job aids in the WBT, however, they do not want the job aids uploaded to the LMS or SharePoint link. I used the resources area in the player to attach them.
They want the job aids in the resources to launch by having the user click on a slide object or button.
Is there a way to launch a resource document by setting up a button or object on the slide? Currently, I see no triggers that offer this but wondering if there is possible a variable set up I can do? Or is there a way via JavaScript (if that's still a thing)?
Thank you,
Michelle
8 Replies
- PierreA-34400Community Member
Hi, I've created a Storyline file:
I uploaded a file to the Player resources
I created a button with the following action:
"Open story_content/external_files/INT-DIRECT.pdf"
Results:
When clicking the Resources link or the Button, same outcome in Chrome (current version):
1- it opens the PDF in a new tab
2- I cannot access the module anymore.
info: Workday Learning LMS- KellyAunerStaff
Hi PierreA-34400,
I'm happy to help!
I have a few clarifying questions to help me better understand what's happening.
- When you say you can't access the module anymore, what do you see?
- Does the issue persist in a different browser?
- If you upload the course to SCORM Cloud, does it behave the same way?
If it works as expected in SCORM Cloud, the issue may be related to your LMS. If it persists, we'd be happy to take a closer look at your .Story file and PDF here or privately in a support case!
- PierreA-34400Community Member
Hi Kelly,
thanks for your support :)
I have uploaded the Scorm file in our LMS (Workday learning), and viewing the course in the latest Chrome browser.
When I click the PDF button, it rightfully opens the PDF, in a new tab, but the previous tab has a popup blocker message (popup blocker is disabled on the URL) and if I refresh the tab, it offers to either restart the course or continue (to the same page, prior to PDF opening).
Is there a way to not open the PDF but download it please?
- NedimCommunity Member
Add a link or attachment to the Resources tab in the Player settings. Publish the project to Review 360 or for the Web. After publishing, click the link or attachment from the Resources tab and copy the part of the URL that starts with story_content/external_files/yourfile.pdf. Then, on your slide, create a button or any clickable object. Add an "Open URL/file" trigger that runs when the user clicks the button, and paste the copied link into the URL field. This allows you to directly access a link or document that was previously added to the Resources folder by clicking an object on the slide, instead of going through the Resources tab.
- JudyNolletLegend
Note that the Open URL/file trigger includes the word "file."
- If you paste a URL in the trigger, the trigger will go to that URL/website.
- If you browse and select a file on your desktop or network, Storyline will save that file as part of the project. In other words, the file will be included as part of the SCORM package.
The image I attached in my previous reply shows where to click in the Trigger Wizard so you can browse and attach a file.
What happens when that trigger runs depends on the type of file. For example, a PDF may open in a new tab in the browser (though that could depend on browser settings). If the browser can't open a file, the file will download. So if you attach a file, you may want to include appropriate instructions about what will happen.
FYI: You can see how a PDF attachment works here: https://360.articulate.com/review/content/3601a447-7ea0-4ff3-bae1-d6741cfcd261/review
- JudyNolletLegend
You don't have to put the job aids in the Player's Resources. You can attach them to a button or other object using the Open URL/file trigger:
- MichelleWhit109Community Member
I appreciate your help but I do know how to use basic triggers to launch a url. I was looking to see if there was a way to trigger resource attachments to open. As I mentioned in my original post, the Stakeholder doesn't want users to go to a link but to open the job aid from resources. Doesn't look like that's possible though. Thanks again
Related Content
- 10 years ago
- 1 year ago