What happens if you import one Stroyline file into another and you are using variables? In other words, both Storyline files have a variable named TextEntry. Will the variable autorename or will it mess up the file?
It looks like it autorenames TextEntry to TextEntry1.
It also looks like if you have a custom named variable in both files, it DOESN"T rename those.
I've not combined Storyline files, so I can't answer. But I can say that if you don't name the variables in one SL file, SL auto-names them in the way you describe: TextEntry, TextEntry1, TextEntry2.
And my expectation would be that it would NOT rename variables you have name manually.
And an aside, Articulate recommend doing that: naming your variables, as "a good practice." Sure makes it easier!
When you import a .story into your current .story and if the variables have the same name and are of the same type, nothing is changed. Only 1 variable stays.
When you import a .story into your current .story and if the variables have the same name and are of a different type, the variable with the variable type of your current will remain , so the variable from the imported .story is void.
6 Replies
Hi Michael,
I've not combined Storyline files, so I can't answer. But I can say that if you don't name the variables in one SL file, SL auto-names them in the way you describe: TextEntry, TextEntry1, TextEntry2.
And my expectation would be that it would NOT rename variables you have name manually.
And an aside, Articulate recommend doing that: naming your variables, as "a good practice." Sure makes it easier!
Hi Michael,
I quickly did a test.
When you import a .story into your current .story and if the variables have the same name and are of the same type, nothing is changed. Only 1 variable stays.
When you import a .story into your current .story and if the variables have the same name and are of a different type, the variable with the variable type of your current will remain , so the variable from the imported .story is void.
Cheers
Geert
If I remember right it does ask you what you want to do, and will create a new variable if you ask it to.
I normally have the same naming conventions for types of variables
Hi Phil,
I did a second test.
Now I have 2 .storylines with both a text entry (both named TextEntry)
Indeed, now TextEntry is renamed into TextEntry1 after the import
Still when using variables (no text entries), it happens like per my previous post
During the import no supplelmental question was asked.
Geert
This may have been during the bbeta, or I may have imagined it, but I distinctly remember being asked what I want to do.
I just did a test with a bollean and it didnt even create a new variable just imported the same name
yep, the one that is in your current prevails and the imported one is ignored when it are different types...
This discussion is closed. You can start a new discussion or contact Articulate Support.