20 people following this project (follow)

Brief Description

The Property Bag Settings can store any metadata as Key-Value pairs such as connection strings, server names, file paths, and other miscellaneous settings needed by your SharePoint application.

The SharePoint Property Bag Settings is now also available for SharePoint 2010 http://pbs2010.codeplex.com/

Overview

Frequently, SharePoint applications retrieve configuration settings at run time that were set when the application was installed or configured. To do this, the applications must access the configuration information, which can be stored in several locations. For example, configuration information can be stored in the Web.config file, the SharePoint configuration database (for example, values in the SPFarm property bag are stored in this database), or in a content database (for example, in an SPList object are stored in the content database). There are many challenges associated with these techniques. For example, improper use of the SPFarm property bag can corrupt the SharePoint configuration database. Also, although you can easily change the Web.config file with a feature installer, it is much harder to make changes to the Web.config file after a feature is deployed.

The SharePoint Property Bag Settings 2010 includes a hierarchical configuration manager that can safely store and retrieve configuration settings at the following levels:

*Farm (SPFarm class)
*Web application (SPWebApplication class)
*Site collection (SPSite class)
*Site (SPWeb class)
*List (SPList class)

Downloads

Property Bag Settings for SharePoint 2007
Property Bag Settings for SharePoint 2010

Related Resources

Screenshots

opertions_s.jpg

PropertyBagsSettings_s.jpg

_layouts/settings.aspx



ModifyPropertyBag.jpg

Help support the project - Make a donation!

This project is a free open source project that is developed in my personal time. You can support this project by donating via PayPal, any amount of compensation is greatly appreciated. Donations also help keep the project open source and free for the community. If you would like to make a donation to the project, click the link below to be directed to PayPal. Thank you!

support the project

About the Author

Alon Havivi is a Microsoft Certified Technology Specialist, specialised in SharePoint 2007/2010, with more than 10 years of experience in analysis, design and development complex Internet and Intranet portals using the latest Microsoft tools and practices, such as C# .NET 4.0, Silverlight and Windows Azure platform. Besides professional work, I write articles for Egghadcafe.com and publish open source projects on CodePlex.

View Alon Havivi's professional profile on LinkedIn. View Alon Havivi's projects on CodePlex. View Alon Havivi's articels on Eggheadcafe. Follow Alon Havivi on Twitter Contact Alon Havivi via E-mail Connect with Alon Havivi via Facebook View Alon Havivi's Blog Subscribe to Alon Havivi RSS Feed

Related Projects:

Last edited Feb 28 2011 at 8:04 PM by havivi, version 28