cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
Showing results for 
Search instead for 
Did you mean: 

Community Tip - If community subscription notifications are filling up your inbox you can set up a daily digest and get all your notifications in a single email. X

Share input data between view scenes

PabloCastilla
12-Amethyst

Share input data between view scenes

Hi,

 

I'm trying to get data from QR codes (string data) using Scan widgwet. It works as it showld in the view scene where was deployed. But what I want to achieve is to share this data between view scenes.

 

For context, Users have to scan their QR-ID, Need this ID to be shown over all the view Scenes.

 

I tried with a function:

 

$scope.view.wdg['label-name1']['text']= $scope.view.wdg['label-name2']['text'];

 

Also i tried adding "view.(viewname).wdg," But nothing seems to work.

 

 Thank you.

ACCEPTED SOLUTION

Accepted Solutions

I found a different way just binding it to an app parameter in different views. 

 

However, thank you.

View solution in original post

2 REPLIES 2

To continue,

 

I bind the scan to a label in home view. I have another label in a different view. What I'm trying is to share the data storaged in the first label to the second.

I found a different way just binding it to an app parameter in different views. 

 

However, thank you.

Announcements

Top Tags