KX Community

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

Home Forums KX Solutions Update Text Field in Dashboard once button is clicked Re: Update Text Field in Dashboard once button is clicked

  • leahs

    Member
    February 10, 2022 at 12:00 am

    Hopefully the following helps:

    For every viewstate we can populate : Default and Value

    When the page loads, the default field is used to populate the value field.

    Therefore, here in this circumstance, we need to override the value field.

    Solution:
    If using a viewstate mapping we can override the viewstate value on page load.

    1.  In the query editor, write a query to get the saved dictionary back from the backend
    2. execute the query
    3. There will be 3 tabs : Results, Mappings and Raw Output
    4. In Mapping, click on the plus icon and map the value returned in the query to your dictionary viewstate
    5. This viewstate will have the new value from the backend now

    Thanks, 

    Leah