Community Tip - Did you get called away in the middle of writing a post? Don't worry you can find your unfinished post later in the Drafts section of your profile page. X
Here is the situation:
Here is what I have tried:
Here is what is happening:
Solved! Go to Solution.
Hello @eribbeck ,
There's a trick involving Validators and Expressions, which allow you to convert values to events.
Try to create a Validator, which takes this boolean as a parameter and bind its True event to your service. In the validator just return true. The crucial bit here is to select "Output = false" (like this it won't fire at the beginning), and "Auto evaluate = true" for the obvious reason.
If that doesn't work for some reason -- try to replace your BOOLEAN value with a NUMBER, which you generate randomly every time.
Finally, instead of executing services Get... / SetGlobalSessionBooleanValue try to assign those session variables directly via bindings in mashup, they support bi-directional bindings. This way you can avoid doing a server round-trip and everything should happen inside the browser.
We use those techniques to do exactly what you're describing -- refreshing a collection from inside a popup, so you seem to be on the right path.
Regards,
Constantine
Hi,
Maybe this post will help you:
Regards,
Raluca Edu
Hello @eribbeck ,
There's a trick involving Validators and Expressions, which allow you to convert values to events.
Try to create a Validator, which takes this boolean as a parameter and bind its True event to your service. In the validator just return true. The crucial bit here is to select "Output = false" (like this it won't fire at the beginning), and "Auto evaluate = true" for the obvious reason.
If that doesn't work for some reason -- try to replace your BOOLEAN value with a NUMBER, which you generate randomly every time.
Finally, instead of executing services Get... / SetGlobalSessionBooleanValue try to assign those session variables directly via bindings in mashup, they support bi-directional bindings. This way you can avoid doing a server round-trip and everything should happen inside the browser.
We use those techniques to do exactly what you're describing -- refreshing a collection from inside a popup, so you seem to be on the right path.
Regards,
Constantine
Thank you, moving away from using the Get / Set services seems to be the trick. Writing directly to the session parameters is working much more consistently.