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)
13 Komentar
Im having a problem with pbs (http://pbs2010.codeplex.com/Thread/View.aspx?ThreadId=227462)
BalasCan you help?
יופי של כלי
Balasיעזור לי בהרבה התקנות
ישר כח
Hello,
BalasI installed your solution in my farm and it's work very well for some web applications , but for another web application is throw an Access Denied, what wrong ? can you help me please ?
Hello Jean, the "Access Denied" shows up when you don't have permissions on the site. I will fix this error in the next release (hopefully this month)
BalasHello Havivi,
BalasI downloaded the .wsp file from http://pbs2010.codeplex.com/. What I want to know is how do I deploy this solution. Will it be deployed for the central adminstration or system setting. Please guide me on this.
Thanks
Hello Joshi,
BalasAt the moment it is a Farm Solution. in the near future I will release another version for Site Collections.
You can use this stsadm commands to install the solution
stsadm.exe -o addsolution -filename PropertyBagSettings2010.wsp
stsadm.exe -o deploysolution -name PropertyBagSettings2010.wsp
Thanks Alon that worked.
BalasNice post, thanks for that! - have published a post about reading and writing to site property bags without the codeplex feature on my blog.
BalasHi Alon,
Balasin ModifyPropertyBag.aspx file there is a control named:
ctl00$PlaceHolderMain$ProfileSave
but i can´t find it, do you know where is ??
Thanks a lot.
I'm having a problem when I import the properties, this is not found _layouts / PropertyBagSettings.aspx
BalasAlon
BalasWe've installed your SharePoint Property bag Settings feature on a 2010 Farm. From the Site Collection I can easily add new Property bag values, but my colleagues, (Site Collection Admin)get an "Access Denied" error.
Any help or pointers would be greatly appreciated.
Jim
It is very helpful for me.
Balasสูตรบาคาร่า
สล็อตออนไลน์
เว็บแทงบอล
ทางเข้า sbobet
This is an excellent blog. I must commend you on your efforts. Written with a positive tone and using simple terminology. Also, I'd like to recommend a shader pack for Minecraft. You can get the BSL Shaders set here, and I'm sure you'll enjoy it.
Balas