Take the 2-minute tour ×
SharePoint Stack Exchange is a question and answer site for SharePoint enthusiasts. It's 100% free, no registration required.

I need to create functionality to save user specific data like bookmark, favorites etc.

I want to know about the best approach I can take to save the user specific data so that logged in user can see their settings like we can use Property Bags to store site/web specific data.

share|improve this question
    
Steve, do I need to transfer this question to SharePoint.stackexchange.com ? –  ashish.chotalia Sep 18 '12 at 9:49
    
@ashish.chotalia we will vote close this one and you re-post it on sharepoint, on another note im not too sure you will need any custom code/state bag at all for what youre after, it just sounds like a list to me –  Luke McGregor Sep 18 '12 at 9:50
add comment

migrated from stackoverflow.com Sep 18 '12 at 14:30

This question came from our site for professional and enthusiast programmers.

2 Answers

You can create a user profile property and store the information in the field.

Here's a couple articles on how to interact with user profile service and properties...

http://iedaddy.com/2010/06/sharepoint-2010-updating-user-profile-properties-with-powershell/

http://iedaddy.com/2012/03/sharepoint-2010sql-view-to-get-user-profile-property-bag-values/

share|improve this answer
add comment

You could save these settings to a database if that is an option and you have the resources.

An easier way could be just to save the data to xml files, one for each user. I have done this before.

regards, KS

share|improve this answer
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.