Forum Discussion

JosephReplin-f0's avatar
JosephReplin-f0
Community Member
8 years ago

Relative File/URL Links

Our organization is fairly large and getting everyone on the same PC file structure for projects would be fairly difficult. Once inside a project folder, our files are all the exact same so a relative link to local files would be optimal.

When Storyline files are passed around, links to external documents with absolute paths continually break. Is there a way to set a relative path to local documents?

  • ChrisAnsari's avatar
    ChrisAnsari
    Community Member

    Does anyone know of a solution for this?

    It would be great if, when linked to, local files were attached to the .story file like when adding images and videos. I understand this can be done by adding them to the Resources tab in the player, but more often than not I need to omit the Resources tab and keep files only linked to from specific slides.

  • @Chris You can use Javascript to hide the Resources Link:

    // Hide the Resources link
    const resources = document.getElementById("resources-link");
    resources.style.display = "none";

  • another method to use the resource tab without a visible resourse button is

    deactivate "resources" global BUT add one slide - which never be reached and activate "recources" only for this one slide

    if you use the menu function, you have to remove this slide from the menu

    you need no javascript

     

    result: