Skip to main content
19-Tanzanite
October 5, 2020
Solved

Is it possible to pass value from one experience to another

  • October 5, 2020
  • 1 reply
  • 1511 views

Hi,


We have developed 2 Experience and we are navigating from Exp 1 to Exp 2 using hyperlink.

 

Is it possible to pass value from Exp 1 to Exp 2 ?

 

/VR

Best answer by RolandRaytchev

Hi @Velkumar ,

I do not know if it is possible anyways to pass data value when you add it as  a parameter to share experience link. I think we can pass it as parameters the deep link , but  so far I know  , it will not be interred form Vuforia View and I do not a way to pass it through the javascript (e.g. Home.js)

But I think on possible way is to write the values to a server in Experience 1 and then read the value form Experience 2 .

For example in Experience 1 you can generate data as Json  and set it to a  value of javascript variable and then past it  to Thingworx repository ( e.g. SaveJSON) and then when you load the experience 2 you can read the data from server  e.g. read the json file form the repository using the method LoadJSON repository thing service

1 reply

21-Topaz I
October 5, 2020

Hi @Velkumar ,

I do not know if it is possible anyways to pass data value when you add it as  a parameter to share experience link. I think we can pass it as parameters the deep link , but  so far I know  , it will not be interred form Vuforia View and I do not a way to pass it through the javascript (e.g. Home.js)

But I think on possible way is to write the values to a server in Experience 1 and then read the value form Experience 2 .

For example in Experience 1 you can generate data as Json  and set it to a  value of javascript variable and then past it  to Thingworx repository ( e.g. SaveJSON) and then when you load the experience 2 you can read the data from server  e.g. read the json file form the repository using the method LoadJSON repository thing service