Do relative URLs work in SL3
Jun 07, 2017
Hi,
I am building a fairly complex eCourse for a client that contains several StoryLine 3 components. I am building and testing the course on one of my sites. Once completed and tested, we will transfer the course to the client's website.
Some of the SL components contain weblinks to other documents and files within the course. My concern is that if I use a full/absolute URL such as - http://mydomain.com/course/doc1.html, this link will be broken when we transfer the course to the client's website. Therefore a relative URL would be preferred, i.e. course/doc1.html. However, my initial testing shows that I get a "page not found" error when I use and publish a relative URL as a link.
Can anyone confirm that absolute URLs are required in SL3 links, and if they are, is there a workaround to enable easy transfer to another domain?
Thanks,
Russ
9 Replies
Hi Russ,
Does the file you're linking to also need to reside on the customer's server? Linking to an absolute URL on your domain, shouldn't cause any issues when you upload the published content to the customers domain/site. An easy way to test this is upload the content to a site like Tempshare or use an Amazon S3 server.
Relative URLs aren't supported, but there have been lots of older discussions about how to work around that or use them.
Hi Ashley,
Unfortunately, all of the files HAVE to be on the client's server. So, for now, I will have to make the changes to StoryLine prior to our move.
Thanks for the confirmation.
Russ
Russ, are you talking about just regular hyperlinks or are you talking about embedded web objects? Normal relative hyperlinks appear to work fine, unless I'm misunderstanding what you're doing.
Michael,
I often create links within my SL3 slides to other course resources such as pdf, html and video files. I use an icon or button with the trigger - Jump to url/file. My testing shows that his requires an absolute url to work.
Russ
Russ, is it possible that you just had the path to the file wrong? See the attached project file where I used a relative URL link attached to a button. It seems to work fine.
Michael,
No, I checked the file path and it was correct. It was the same as you had in your example. I published again, and it still does not work.
Anyway, thanks for the suggestion.
Russ
Are you able to share just the portion of your project with the link in it?
Michael,
I appreciate your persistence. Thanks.
Here is the slide with the links for you to test.
Russ
Got it. I see you have the absolute URLs in there. What are the relative URLs that you were trying to use?
This discussion is closed. You can start a new discussion or contact Articulate Support.