Hi all,


I am using data action to fetch data from database, i get data from data base,

but after getting data from database, i need to assign value retrieved from database to a local variable into that screen, is there any way to do so?

Data action output variables scope is not outside the action, is there any way to access it outside.


Thanks,

DM

Hi Diraj, 

yes you can value to local variable , and you use that local variable in your screen

here is the example : 

for getting data , you can Drag your entity in the preparation and in the preparation you assign the vaule to local variable as shown in the above image.

regards,

shree

Solution

Hi Dhiraj,

Or you can do an On After Fetch action and do the assign there:

Regards,

JC

Solution

Hi dhiraj, 

In the above i just explained traditional web development, for Reactive web app what Juan Carlos Elorde replied is correct, 

i hope its soved your problem

regards,

Shree