Author Message
DanielB
Joined: May 11, 2015
Messages: 20
Offline
Hello I try to archive following scenario:

SnapIn A sets an Attribute within the callIntercepted method:
call.setAttribute("attributeKey", "test");


SnapIn B retrieves the Attribute within the callIntercepted method:
String test = call.getAttribute("attributeKey");


SnapIn B is called after SnapIn A.


Unfortunately the attribute is null in SnapIn B.

Are the call attributes shared between different SnapIns or am I on the wrong track?
What is the recommend way to easily share simple information between SnapIns?

Regards,
Daniel Bonneval
CraigJohnson5
Joined: Oct 24, 2013
Messages: 413
Offline
Attributes saved to a call object cannot be shared between snap-ins. One suggestion would be to use a database to save and retrieve the value between snap-ins.
DanielB
Joined: May 11, 2015
Messages: 20
Offline
Thanks a lot for the feedback :thumbup:
Go to:   
Mobile view