Sharepoint Forum

Ask Question   UnAnswered
Home » Forum » Sharepoint       RSS Feeds

Custom Web Part Storage

  Asked By: Sonny    Date: Jan 25    Category: Sharepoint    Views: 2074

We have created some custom web parts in our Sharepoint Portal for the approval of Holidays within the organisation. Within the web parts there are some custom properties for details of relevant servers, connection strings, e-mail addresses. etc.

I believe we are using Storage.Personal on these web parts.

Does anyone know where these values are stored? Are they in the Sharepoint database? or is it somewhere that I have no chance of getting to?



7 Answers Found

Answer #1    Answered By: Irvin Foley     Answered On: Jan 25

They are stored  as serialized XML in the Personalization table in the

Answer #2    Answered By: Deonte Stein     Answered On: Jan 25

have done a quick study on xml serialisation. Do you know if it is feasible to de-serialize the data, change it and then reserialize?

Answer #3    Answered By: Stephon Valentine     Answered On: Jan 25

It may be possible but it probably isn't supported/recommended. I've
never tried. The Web Part handles all interaction with these serialized
properties automatically so there really isn't a need to.

Answer #4    Answered By: Leif Cardenas     Answered On: Jan 25

I'm not aware that I have any other option (unless there are any
suggestions to the contrary). I'd like to avoid visiting each user
individually and updating the properties  of the web  part if possible!!

Answer #5    Answered By: Jasper Hatfield     Answered On: Jan 25

Some food for thought: If the properties  must be stored  for each user,
could you write some code in the web  Part to update each user's settings
as each user uses it? Otherwise, you may want to change those properties
to only keep one shared copy (Storage.Shared). If you need outside
access to the properties, maybe you could switch to using some
centralized settings stored somewhere like the web.config or the

Answer #6    Answered By: Rashawn Hopper     Answered On: Jan 25

If you are trying to reset everyone's WebPart Properties back to specified values  that are all the same, I would delete the webpart in question and then add it back to the page with the settings you want. If you don't want people changing it, make sure you disable the ability to change it.

Answer #7    Answered By: Horace Coffey     Answered On: Jan 25

And preferable to directly tinkering with the

Didn't find what you were looking for? Find more on Custom Web Part Storage Or get search suggestion and latest updates.