Tag Archives: XML

Managing and storing custom configuration values in SharePoint

One of the things I frequently run into when developing custom SharePoint solutions is the need to store some form of configuration data. The traditional (ASP.NET) place to put this is in the web.config. However, this has some downsides. It’s difficult to maintain once deployed (and really, hand-editing config files sounds a bit old-fashioned anyway). Another downside is that, for Farm-wide settings, you’d need to duplicate the settings in each web.config. Fortunately, SharePoint comes with the useful SPPersistedObject. Continue reading

Posted in .NET | Tagged , , | Leave a comment

GUIDs in SharePoint Site Columns

As you know, SharePoint uses a lot of GUIDs. Usually it makes no difference if you include the accolades around the GUID, except when defining Site Columns. Of course, SharePoint doesn’t actually complain about the lack of accolades, not even … Continue reading

Posted in .NET | Tagged , , | 2 Comments