Skip to main content
Apr 7, 2020 6:49 PM UTC
Solved

Add and update details as input mashup

Hi community,

 

So I have a main mashup in which i have some data visible in two label widgets.I also have a button below which is used to navigate to a popup.The purpose of this popup is to get new values for the labels in the mashup.So how do I get the values from the user and save it such a way that as soon as I close the popup the main mashup updates to the new values i.e the old values in both the label widgets are replaced by the new values the user has given now.

Also I want to validate that the user has entered both the values in both the labels,and even if one label is empty i need to display a msg.How do I do that?

slangleyAnswer
Apr 7, 2020 7:14 PM UTC

Hi @alenaromi.

 

One way to do this is with session parameters.  You can use the validator function to evaluate the data being entered and pass the output a custom service for generating the pop-up message regarding the user entry.

 

Regards.

 

--Sharon

3 replies

slangleyAnswer
Apr 7, 2020 7:14 PM UTC

Hi @alenaromi.

 

One way to do this is with session parameters.  You can use the validator function to evaluate the data being entered and pass the output a custom service for generating the pop-up message regarding the user entry.

 

Regards.

 

--Sharon

alenaromiAuthor
Apr 7, 2020 7:36 PM UTC

and how to go about about saving the input data.

Apr 8, 2020 2:11 PM UTC

Hi,

 

Just bind the input data with session parameters that you define.

 

Hope it helps,

Raluca Edu