Forum Discussion

Amitosh_Tripathy's avatar
7 years ago
Solved

getPreferenceItemProperty and setPreferenceItemProperty

Hi, I am implementing a Generic action form UI to let user pick his default group among multiple groups he belongs to.  I could achieve it with adding a property to Core_GlobalLayout and write ge...
  • christopher_gillis's avatar
    christopher_gillis
    7 years ago

    Hi amitosh,

    The setPreferenceItemProperties function does not save to the database. It updates a cached copy of the preference item that is saved when the user logs out of the system.

    In a similar manner, the getPreferenceItemProperty queries against this cached copy of the preference item. However, this function does do a get from the database if there is not already a cached copy stored locally.

    Chris