Trigger linking to added resources not working.
Oct 11, 2016
Hi,
I have a button that is supposed to link to a PDF in the resources section. I have added this file to the resource section and I have done my trigger as advised by Articulate
However, I am just getting 404 - File or directory not found when I click the button.
I have just updated to SL2 update 11, which I think the documentation said that this was one of the bug fixes included in the update.
I have noticed though, that in the Output folder, there is not a folder created that is called External_files (which there used to be when publishing - I have had to manually add files into there before).
I have added this folder to the output manually and put in the file (which then makes it work) ...but, I just wondered if this is something to do with the update, or if it is something I am doing wrong?
Does anyone know how I can get this to do this automatically? (just have the file in the right place when publishing it).
Cheers, Laura
10 Replies
If you've correctly set your resources in the Player things should work automatically (and be published to external_files). Over 99% of the time when resources break the source files were re-located on the system, then the .story file republished.
FYI I believe "External_files" is all lowercase (thus external_files), and that matters on some platforms... though I don't SL fired up this second
Hi Laura! File length can play into that as well. It should be added automatically as Brian shared, but be sure that the file path is not too long.
Thanks for that. i have more to publish today, so will shorten the file path and see if that makes it work :)
Me again - it hasn't worked and my filepath is now silly short!
I have shortened everything, to a single letter and it's still not automatically putting an external_files folder in.
I have saved/published directly from my local drive, so that's C:\
I have renamed the PDF to T.pdf, the story file itself is T.story and when publishing I have shortened the title to just T
So it outputs to C:\T - Storyline output which then zips to T.zip
There's no external_files folder in the story content folder.
I definitely have kept the T.pdf in the same place as it was when I attached it to the resources section of the player (and I have renamed it in my trigger too).
Can anyone help? I can, as I said before, manually create this folder each time, but I'd rather not if I don't have to!
Cheers, Laura
Can you share your .story file for me to take a look? If you cannot share here in the forums, please submit here.
I've sent it via the link. It's just the one slide with the button on it. I have also uploaded the PDF file.
Thanks for your help
Got it Laura - I'll take a look.
Hi Laura! Just responded to your support case :)
Thank you. Glad to know it was just me being stupid!! I'll turn it on in future lol
No way Laura! It was a great question and took me a minute to realize what was happening.
For anyone following along, Laura had not utilized Resources in her player, so the file folder wasn't automatically created.
This discussion is closed. You can start a new discussion or contact Articulate Support.