Forum Discussion
Open URL/File
Hi,
Need your help in solving the below issue. This has really made me scratching my head ☹
Requirement – I want learners to download additional documents in a PDF format.
Steps followed
Added the ‘Open URL/file’ trigger to a PDF icon/image.
Click the ellipsis button to navigate and select the required file stored in my SharePoint folder.
Publish the story file and upload it in the LMS.
Error
Learners receive ‘Sorry, you don’t have access’ error.
How do I resolve this issue? Please suggest.
To add, i have resources link enabled in player and added few others public links and not these pdf links. And I don't see any external_files folder created in the story content folder. Do I necessarily need to add a link to the PDF files in addition to the 'Open URL/file' trigger to work?
- SamHillSuper Hero
Hi there, it sounds like your are linking to files outside of the project using a URL. Download the documents to your project folder on your local drive. You can add documents via the Resources link in the player if that helps, they should then be in the external_files folder. You can then link to those same documents throughout your project using a relative link to the external_files folder.
- PonnammalSun502Community Member
Thank you, Sam. This solution helps. I linked to the file rather than the URL, and it worked. I also verified that a copy of the file is loaded in story_conten/external_files.
- EricCasolo-0529Community Member
Hello.
I've been having an issue as well. Not sure if this is related.
I'll get a published file from my business partner, I'll update a few things and send it off to the client.
The client comes back and says she is getting this error:
<Error>
<Code>AccessDenied</Code>
<Message>Access Denied</Message>
<RequestId>XYK52WHSS2M62V41</RequestId>
<HostId>
5XYi9UVuZf6H30CJoLBf6ACUtqUDPwOe97JxmgT8U5VNlkR/QjCgntOI/WBOMob1IhUajc247ug=
</HostId>
</Error>
Is this caused by pulling the PDf file from a shared drive?
- WaltHamiltonSuper Hero
Most likely. I can’t guarantee that’s what is causing it, but I can guarantee that if you are trying to do that, it will result in that sort of error message.