cancel
Showing results for 
Search instead for 
Did you mean: 

Saving Preferences

seanh
Champ in-the-making
Champ in-the-making
Is there a way to save the user preferences for an account or even specific spaces?

Example: I change the view from Icon view to detail view. When I go back to that space it resets and displays as the icon view.

Thanks for the help!
6 REPLIES 6

zaizi
Champ in-the-making
Champ in-the-making
Out of the box this functionality is not available.

However, you can do this yourself. We recently built a preference service for a client in Alfresco Enterprise 2.2. This is now available in Alfresco 3.0 Labs.

Do you want to set a per space preference or set the view for all spaces?

seanh
Champ in-the-making
Champ in-the-making
I'd really like it to save the users preference per space. But if I have to I'd like to change all spaces default from Icon to Detail view.

zaizi
Champ in-the-making
Champ in-the-making
To configure preferences for all spaces;
- Add an aspect to the user model to store their preference value
- Customise the UI to add / update this preference
- Update the Alfresco UI to check this aspect and render the folder views.

To configure preferences for each individual space;
- Add the aspect to the space to store the preference value;
- Customise the UI to remember the last selected value;
- Update the Alfresco UI to check this aspect and render accordingly.

Hope this helps. If you found the post useful please rate it.

seanh
Champ in-the-making
Champ in-the-making
I think I'm going to need a bit more help. How do I do these? Is there a file I modify to add aspects?

Thanks!
Sean

zaizi
Champ in-the-making
Champ in-the-making
This is a good tutorial on how to extend the default content model and add custom aspect: http://ecmarchitect.com/archives/2007/06/09/756

In order to add the preference functionality, check out the functionality available in Alfresco 3.0. Wiki details: http://wiki.alfresco.com/wiki/User_Preference_Service. Javadoc: http://dev.alfresco.com/resource/docs/java/repository/org/alfresco/service/cmr/preference/Preference....

That should get you started.

vinhqchu
Champ in-the-making
Champ in-the-making
do you know if this feature is available for version 3.0 enterprise?