KX Community

Find answers, ask questions, and connect with our KX Community around the world.
KX Community Guidelines

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?

  • leahs

    Member
    November 11, 2022 at 12:00 am

    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