Hi,
I'm experiencing on config cascade on OXSE 6.20 and 7.4:
http://oxpedia.org/wiki/index.php?title=ConfigCascade
In particular, I've added some custom user attributes using RMI api:
and I'm able to read that value using HTTP api:
Please note that, when using RMI to store properties, I need to prefix my custom user attribute "myUserAttribute/key1" with "attr_" in order to be able to read it using HTTP api (AFAIK this "feature" is undocumented ).
Now, I would like to store some custom properties at context level:
but I don't know how to read that property with HTTP api.
I've tried to simply replace the previous call with:
but it does not return the expected value. I've also tryed to omit the "attr_" keyword when using RMI api, but the result is the same...
I've checked that the "contextAttribute" table is correctly updated when using RMI api, so the value is stored into database as expected, but then I'm not able to read it using HTTP api.
Is it possible to read it somehow?
I'm experiencing on config cascade on OXSE 6.20 and 7.4:
http://oxpedia.org/wiki/index.php?title=ConfigCascade
In particular, I've added some custom user attributes using RMI api:
Code:
/opt/open-xchange/sbin/changeuser -A postmaster@uc.test.it -P password -c 1001 -u test.test@uc.test.it --attr_myUserAttribute/key1=value1
Code:
http://myhost.it/ajax/user?action=getAttribute&id=3625&name=myUserAttribute/key1&session=6c458ae12d4f4cedb61e37e03d5152a6 {"data":{"name":"myUserAttribute/key1","value":"value1"}}
Now, I would like to store some custom properties at context level:
Code:
/opt/open-xchange/sbin/changecontext -A oxadminmaster -P secret -c 1001 --attr_myContextAttribute/key2=value2
I've tried to simply replace the previous call with:
Code:
http://myhost.it/ajax/user?action=getAttribute&id=3625&name=myContextAttribute/key2&session=6c458ae12d4f4cedb61e37e03d5152a6 {"data":{"name":"myContextAttribute/key2"}}
I've checked that the "contextAttribute" table is correctly updated when using RMI api, so the value is stored into database as expected, but then I'm not able to read it using HTTP api.
Is it possible to read it somehow?
Comment