# Where can I store user preferences in dhis?

**URL:** <https://community.dhis2.org/t/where-can-i-store-user-preferences-in-dhis/23480>\
**Category:** Support - Assistance technique\
**Created:** [21 March 2014 14:50 UTC](https://community.dhis2.org/t/where-can-i-store-user-preferences-in-dhis/23480 "2014-03-21T14:50:39Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![Lars](https://dhis2.b-cdn.net/user_avatar/community.dhis2.org/lars/32/34166_2.png) [@Lars](https://community.dhis2.org/u/Lars)\
**Post date:** [21 March 2014 14:50 UTC](https://community.dhis2.org/t/where-can-i-store-user-preferences-in-dhis/23480/1 "2014-03-21T14:50:39Z")

</div>

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](mailto: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.

---

<div class="post-metadata">

**Author:** ![Lars](https://dhis2.b-cdn.net/user_avatar/community.dhis2.org/lars/32/34166_2.png) [@Lars](https://community.dhis2.org/u/Lars)\
**Post date:** [22 March 2014 15:15 UTC](https://community.dhis2.org/t/where-can-i-store-user-preferences-in-dhis/23480/2 "2014-03-22T15:15:32Z")

</div>

Direct link here: [http://www.dhis2.org/doc/snapshot/en/user/html/ch28s24.html](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](mailto: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](mailto: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](mailto: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.
