Unfortunately, the User Preferences feature has not been documented beyond the original concept -
https://issues.apache.org/jira/browse/OFBIZ-495 - and the implementation. Take a look at framework/common/entitydef/entitymodel.xml (org.ofbiz.common.user) and PreferenceServices.java JavaDocs.
The basic idea is that user preferences are stored as key=value pairs. In addition, there are fields to group preferences and define each preference data type.
-Adrian
--- On Tue, 1/13/09, adithi agarwal <
[hidden email]> wrote:
> From: adithi agarwal <
[hidden email]>
> Subject: service..
> To: "
[hidden email]" <
[hidden email]>
> Date: Tuesday, January 13, 2009, 12:22 PM
> HI
> Can some one please explain me these 3 lines.. its in
> globalscreens.xml-GlobalDecorator..
>
> <service
> service-name="getUserPreferenceGroup"
> result-map-name="prefResult">
> <field-map
> field-name="userPrefGroupTypeId"
> value="GLOBAL_PREFERENCES"/>
> </service>
> <set field="userPreferences"
> from-field="prefResult.userPrefMap"
> global="true"/><!--what is prefResult
> ..where is it defined.-->
>
> Thanks.