How is your experience with the OutSystems Community?
16
Views
4
Comments
Solved
Back button data maintaing
Question

Hi All,

Can anyone suggest the maintainnace of data on the page on back button,

The selected data to persist.

CountryBlock_v2.oml
2023-09-06 07-26-35
Sudip Pal
Solution

Hi @Preeti zade 

Can you check the below OML? Let me know if you face any difficulties.

Thanks,

Sudip

CountryBlock_v2 (1).oml
2024-02-16 11-58-28
Sheikh Mohd Fahad

Hey @Preeti zade

Do you mean you want to persist data across screen navigation?
If it's a simple value, you can use session or client variables,
or you can use browser-based local variables using this component
https://www.outsystems.com/forge/component-overview/24410/dynamic-local-session-variables-o11

UserImage.jpg
Preeti zade

Hi Fahad,

Is it for ODC as seeing o11 compatible

2024-10-05 13-30-20
Huy Hoang The

for this case, you must to serialize JSON and store all local value(inputs, filter values,....) to Client Variable to keep all values when you navigate to next screen

when you back to screen, you deserialize JSON and refresh data.

Hope this helps! 

2023-09-06 07-26-35
Sudip Pal
Solution

Hi @Preeti zade 

Can you check the below OML? Let me know if you face any difficulties.

Thanks,

Sudip

CountryBlock_v2 (1).oml
Community GuidelinesBe kind and respectful, give credit to the original source of content, and search for duplicates before posting.