Where can I store user preferences in dhis?

Hi Kiran,

for this you can use the user setting web api resource. Look in the web api documentation > user settings. A setting is a key-value pair where the key is a string and the value is an object (byte) which can store anything, like a string or a json structure.

Lars

···

On Mar 21, 2014 10:24 AM, “Kiran Prakash” kprakash@thoughtworks.com wrote:

Hello,

We have a requirement where we need to store some user preferences like preferred countries, preferred datasets etc. using which we’d be customizing his dashboard.

We are planning to write a dhis app for this purpose.

Is there a table in which we can store these user preferences? What is the preferred way of implementing such features.

Regards,

Kiran.

Direct link here: http://www.dhis2.org/doc/snapshot/en/user/html/ch28s24.html

···

On Sat, Mar 22, 2014 at 8:55 AM, Kiran Prakash kprakash@thoughtworks.com wrote:

oh ok, I’ll have a look. thanks Lars!

On Fri, Mar 21, 2014 at 8:20 PM, Lars Helge Øverland larshelge@gmail.com wrote:

Hi Kiran,

for this you can use the user setting web api resource. Look in the web api documentation > user settings. A setting is a key-value pair where the key is a string and the value is an object (byte) which can store anything, like a string or a json structure.

Lars

On Mar 21, 2014 10:24 AM, “Kiran Prakash” kprakash@thoughtworks.com wrote:

Hello,

We have a requirement where we need to store some user preferences like preferred countries, preferred datasets etc. using which we’d be customizing his dashboard.

We are planning to write a dhis app for this purpose.

Is there a table in which we can store these user preferences? What is the preferred way of implementing such features.

Regards,

Kiran.