SharePoint Stack Exchange is a question and answer site for SharePoint enthusiasts. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

My customer have a SharePoint farm with several site collection (collaborative, portals, etc.). I have to build a "page" that allow the customer to manage this site collection. By managing, I don't mean technical managing but functional managing. The main use case is to allow the customer to "tag" sites, or to "attach" a site to a organizational entity.

Is there a way to add "metadata" on site ? Or have I to create an hidden list with a single item that holds this data?

Nothing is fixed by now. Feel free to make any other suggestion.


share|improve this question
up vote 2 down vote accepted

If you're doing this in code, you can use the property bag to store objects.

Note that only SPWeb has an AllProperties property bag, so if you're doing this for Site Collection level, make sure you get RootWeb first, then set/get your AllProperties properties.

Note the example on that page has a few properties already set - you can add however many you want on top of this, though.

share|improve this answer

A site directory could work too couldn't it? You can specify all the metadata fields you want, you can add site collections and subsites to the list and users can maintain the properties. This would then allow you to slice and dice the data as needed.

share|improve this answer
probably, but I'll have to find a way to autopopulate this site directory... – Steve B Mar 3 '11 at 10:10
and I'm not eased at using a disabled feature... – Steve B Mar 3 '11 at 10:12

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.