R – Sharepoint custom user and document library specific properties

profilerpropertiessharepoint

Is there a standard way to associate custom properties with a user? I need to store the number of items per page a user selected in a grid of a document library separately for each user and document library.

Edit:

Sorry about this vagueness, I wanted to do it programmatically. It seems like I've found the solution, it is UserProfileManager class, though I'm now looking into whether there is a limitation on the number of properties you can save this way for a user, because the easiest way of saving page sizes on per user+document library basis seems to be using GUIDs of Views as property names and numbers of pages as values. Though I don't know if it is more efficient or not, depends on how sharepoint stores these properties.

Best Answer

No, you would need to create custom code to store the data.

Given the potential amount of data created, it may be wise to store it in a separate database.

This would give greater flexibility in the way the data can be manipulated and retrieved.

Related Topic