I want to refresh the service of the "main mashup" on the button 'clicked' event of "repeater mashup" of "Collection Widget". Can anybody provide suggestions for the same.
In other words, Collection widget has a button, which has to refresh a service in main mashup.
Bind the data in your Collection/ contained mashup to Session variable, and bind the session variable to widgets in main mashup (such as Textbox widget). The Textbox widget has ValueChange event, and it can be used to trigger the mainmashup refresh service. Other widgets would work too.
I tried the same but session parameter is not getting refreshed, to capture the "Data Change" Event from the text box/or any other widget.
Please suggest something.
Yes , the session property coming from the contained mashup to the main mashup cannot be reset or changed, to capture the data change event.
Do you suggest any other workaround ?
Which version of TWX are you using?
I found that in 8.4 the Session variables does not have valuechange event, and it's a bug that will fix in 8.4.5 and 8.5. In previous versions, this solution should work.