Take the 2-minute tour ×
SharePoint Stack Exchange is a question and answer site for SharePoint enthusiasts. It's 100% free, no registration required.

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.

thx

share|improve this question
add comment

2 Answers 2

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.

http://msdn.microsoft.com/en-us/library/microsoft.sharepoint.spweb.allproperties.aspx

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
add comment

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
add comment

Your Answer

 
discard

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.