Christian Weyer
Posts: 0
Joined: Mon Dec 19, 2011 5:29 pm

How to bind a REST service response to elements on a different screen?

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.

maxkatz
Posts: 0
Joined: Fri Aug 13, 2010 3:24 pm

How to bind a REST service response to elements on a different screen?

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.

Christian Weyer
Posts: 0
Joined: Mon Dec 19, 2011 5:29 pm

How to bind a REST service response to elements on a different screen?

OK, I got the first part. How to map now from local storage to a list element?

maxkatz
Posts: 0
Joined: Fri Aug 13, 2010 3:24 pm

How to bind a REST service response to elements on a different screen?

Use Set Property action, for example:

Image

Return to “Issues”