Home › Forums › KX Solutions › Is there a way to store data returned from server into a viewstate in KX Dashboard? › Re: Is there a way to store data returned from server into a viewstate in KX Dashboard?
-
Hello @yuwu10112358
Thanks for sharing with the KX Community.
Reverting with some feedback for you:
There are a few options here:
1. Server side caching solution is recommended.
2. Use a virtual query. If several components are using the same datasource, then there can be one q query and link each of the components to a virtual datasource
3. In the query, return the table as a dictionary and use the query mapper to map the table to a viewstate
Hope this helps.
Thanks,
Leah