Forum Discussion
Storyline. Read text file into variables
About 2-3 times a year we need to update our training which includes links online documentation. These links are shared in the Resources.
Thankfully the documentation URL stays the same, with the exception that the version number changes . e.g. http://documentation/3.1/information (where 3.1 would then change to 3.2 with the next release)
Ideally I would like to generate the resource links automatically, meaning I read the version number from a text file and Storyline uses code to read from the text file and populate the resources with the updated version number.
e.g. Read from txt file and populate a variable used in Resources and the Storyline project when the project is compiled.
1. Amend version.txt with latest version
2. Open Storyline and the resources are automatically updated with the latest version.
Has anyone achieved something similar or have any ideas how to do this?
- JudyNolletSuper Hero
I don't have a solution for automatically updating version numbers in URL file names.
I will share the solution that worked for one of my clients: We kept the file name the same, and put the updated version number within the file.
Yes, one had to open the file to see the version number. But the URL link stayed the same. That was a huge benefit, because the eLearning courses, as well as the actual software covered in the courses, linked to those help files.