Skip to main content
Oct 12, 2020 11:34 AM UTC
Solved

How to persist the user input on mashup when navigating back and forth of the mashups

Hi,

i have following use case, do anybody have a proper solution?

1. Lets say there are 2 forms on two separate mashups.

2. If user has filled 1st form and navigate to next mashup

3. fills the second form

4. but now he wants to change the content of last (1st) form so he navigate back.

Ideally on 1st form there should be that content present which was given as a input by user, but while navigating i selected as a replace mashup (navigation config) so that erases all the selection or text input and i want that to be always populated.

 

I know i can do params to pass those all fields front and back by mashup or save the content somewhere unless the form is submitted. But is there another way which is really obvious but i am missing?

 

Thanks for your time. 🙂

 

 

mnarangAnswer
Oct 13, 2020 9:56 AM UTC

Not sure if this can fulfill your exact requirement but did you explore usage of session variables? You can set session variables and use them in a session, you can set and get them using setGlobalSession<type>Value and getGlobalSessionValues in CurrentSessionInfo Resource.

3 replies

mnarangAnswer
Oct 13, 2020 9:56 AM UTC

Not sure if this can fulfill your exact requirement but did you explore usage of session variables? You can set session variables and use them in a session, you can set and get them using setGlobalSession<type>Value and getGlobalSessionValues in CurrentSessionInfo Resource.

Oct 15, 2020 11:21 AM UTC

Thank you for your reply mnarang,

Yes i tried that too but some how seems its not maintained and when i come back to form 1 those entries are not there,. any suggestion on that? also tried this one CS249180 article. on TW 9.01 version i have. is it a bug?

Thanks,

Pravin Pradhan

Oct 15, 2020 2:22 PM UTC

I Got That working it was just cache issue.

Thanks for the Thought Mnarang