Skip to main content
1-Visitor
March 23, 2020
Solved

How to share data between different view

  • March 23, 2020
  • 1 reply
  • 1555 views

Hi everyone,

I'm developing some Vuforia Studio Projects that includes three or more different view.

For example: 

  • Home
  • Service
  • Technical Drawing

In Home view I want to be able to set languages and some other parameters, that could be accessible also for Service and Technical Drawing. At the moment I'm not able to connect each view but only navigate from one to another. 

 

For the languages selection,  I use a flag that change value and select a "predefined" set of label (used for example to translate the buttons). 

 

 

Any suggestions? 

 

Thank you, Leonardo 

Best answer by ClayHelberg

You can use application parameters for this. Create an application parameter for each bit of data you want to pass between views. Every view will have access to those values. You can set them in JS using 

$scope.app.param['<paramname>'] = "<paramvalue>"

 

 

1 reply

18-Opal
March 23, 2020

You can use application parameters for this. Create an application parameter for each bit of data you want to pass between views. Every view will have access to those values. You can set them in JS using 

$scope.app.param['<paramname>'] = "<paramvalue>"