getsharedvalue

Posted by Rollbase User on 26-Nov-2010 18:42

Hi Guys, Could you please explain rbv_api.setSharedValue(name, value) and rbv_api.getSharedValue(name) in a bit more detail? eg. is the value shared between all users, or just the logged in user? Is the value persistent (eg stored to disk for next time user logs in), or is it just stored in memory like a session varialbe? Does it use cookies? Thanks, Matt.

All Replies

Posted by Admin on 29-Nov-2010 02:52

Also, can it be used from formulas, or only triggers?

Posted by Admin on 29-Nov-2010 09:26

This API only shaes values between triggers running in the same transaction. I should review documentation on this. Fot other types of sharing you may try to use Settings.

Posted by Admin on 01-Dec-2010 16:47

Thanks. Any feedback on the first 3 questions? ie eg. is the value shared between all users, or just the logged in user?
Is the value persistent (eg stored to disk for next time user logs in), or is it just stored in memory like a session varialbe? Does it use cookies?

Posted by Admin on 01-Dec-2010 16:59

1. Only for current user
2. Not persistent
3. Does not use cookies (server side, no cookies)

This thread is closed