0

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.

2
  • Steve, do I need to transfer this question to SharePoint.stackexchange.com ? Sep 18, 2012 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
    – undefined
    Sep 18, 2012 at 9:50

2 Answers 2

1

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/

0

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

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

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