Page 1 of 1
How to bind a REST service response to elements on a different screen?
Posted: Mon Dec 19, 2011 5:32 pm
by Christian Weyer
Is there any way to easily bind the data from a REST service response to elements in a different screen? I need to show data on another screen.
After the button click on the main screen the REST service call should happen and after a list on a second screen should be populated and this screen needs to be shown.
How to bind a REST service response to elements on a different screen?
Posted: Mon Dec 19, 2011 5:44 pm
by maxkatz
Here is how you can do it. Invoke the service on page 1, save the result to Local Storage, navigate to page 2. On page 2, read the values from Local Storage.
How to bind a REST service response to elements on a different screen?
Posted: Mon Dec 19, 2011 8:12 pm
by Christian Weyer
OK, I got the first part. How to map now from local storage to a list element?
How to bind a REST service response to elements on a different screen?
Posted: Mon Dec 19, 2011 8:16 pm
by maxkatz
Use Set Property action, for example:
How to bind a REST service response to elements on a different screen?
Posted: Mon Dec 19, 2011 8:16 pm
by maxkatz