Skip to main content
maseinyerfaceintheplace
Known Participant
August 12, 2019
Question

Send variable to child project

  • August 12, 2019
  • 3 replies
  • 265 views

Hey,

I have 1 large Captivate project with several 'levels' - I ran into publishing issues dues to the size of the project and it seems like a good idea to split each level into a separate project file and nest each level inside the callees folder using Captivates 'open another project' function.

My issue, it that right at the beginning of level 1 the user chooses an Avatar & types in their name which is then shown throughout the project. Now, when opening up level 2 as its a linked project the user name and avatar reverts back to default variable 'test name' etc...

So, I'm wondering - can I send these user-defined variables to child projects and how does the child project pick up this variable without overwriting it?

Thanks for your help

This topic has been closed for replies.

3 replies

Lilybiri
Legend
August 12, 2019

Only see Local Storage as a feature to use for exchanging variable values.

maseinyerfaceintheplace
Known Participant
August 12, 2019

Thanks, Lilybiri​ - can you recommend any good tutorials on where to start with Local Storage?

Lilybiri
Legend
August 12, 2019

In this Help text about the common JS interface you'll find some information (towards the end):

Learn about the Common JavaScript interface for Adobe Captivate

I mostly use the CpExtra widget by InfoSemantics which also allows to address data in local storage. That data is available if the user remains on the same system and doesn't clear it.