1

I have a sharepoint webpart that will exist on many pages. The webpart has a custom editor control that I have developed to present the configuration options to the user in a more friendly manner.

Although there will be many instances of the webpart I require that each instance has the same consistent set of property values.

Is there a way using webparts to define a property as a site level configuration element rather than the current default / per page configuration?

Brian Scott
  • 9,221
  • 6
  • 47
  • 68

2 Answers2

1

Store your settings in the property bag of the site/farm. for instance SPFarm.Local.Properties.

Vladi Gubler
  • 2,458
  • 1
  • 13
  • 15
0

SO - What is a proper way to store site-level global variables in a SharePoint site?

Includes references to MSDN articles explaining how to use the farm/site level property bags and the Hierarchical Configuration manager that's included in Microsoft reference "SharePoint Guidance Library"

Community
  • 1
  • 1
Ryan
  • 23,871
  • 24
  • 86
  • 132