Need to get value from server-side POST trigger in client si

Posted by Rollbase User on 02-Apr-2012 17:20

Receiving data after POST trigger to other domain. Need to use URL result in web tab to redirect iframe to partner single sign-on location. I'm using rbv_api.getSharedValue('ReturnBody'); in a server-side trigger, but I'm not sure how to get this value transferred to the client side. Is there possibly a way to make the 'ReturnBody' (or some piece of it) available to the client as a merge token? I'd like to avoid a race condition, so I would prefer not to create a field to hold the value in some shared space, such as a field on the object. Thanks in advance for any advice.

All Replies

Posted by Admin on 04-Apr-2012 17:07

Just USA client-side AJAX call, the is no need to run server-side trigger for that.

Posted by Admin on 04-Apr-2012 17:16

"USA" = use

"the" = "there"



Posted by Admin on 05-Apr-2012 00:56

Thanks, I didn't know if that would violate the javascript same origin policy or not. I'll either be going that route, I will end up adding a field on the User object (shouldn't ever be used in multiple places or for separate intentions at a time) after all. Thanks, again, sir.

This thread is closed