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

I need to add some custom properties to a document set. Is there an ootb way to do this or inheriting the content type is the only solution?

share|improve this question
up vote 1 down vote accepted

It depends on what you see as an ootb solution.

A Document Set is a 'special' content type with ContentType ID="0x0120D520", so sort of a Folder content type. To add custom properties (fields) to a document set you can go several ways:

  • Add a site/list column through the SharePoint UI as you would do with a regular content type
  • Add a SPField in code, e.g. in an event receiver
  • Add a SPField in the Document Set content type definition declaratively

If you can do it for a regular content type, you can do it for a document set, since it's 'just a content type'.

If you want your custom fields to be shared to the document types in the document set or shown on the welcome page, have a look at this Visual How To for a highly detailed definition.

share|improve this answer
That's exactly what I was looking for. Thanks for the answer! – alf Oct 26 '11 at 13:45

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.