title: Custom SharePoint 2010 Documentset contenttype
body: <p>I'm working on a custom contenttype of the type Documentset.
  I want to set the alllowed contenttypes, but this is not working, it's only showing the defeult document. I read several blogs but i can't find my solution.</p>
  
  <pre><code>&lt;?xml version="1.0" encoding="utf-8"?&gt;
  &lt;Elements xmlns="http://schemas.microsoft.com/sharepoint/"&gt;
    &lt;!-- Parent ContentType: Document Set (0x0120D520) --&gt;
    &lt;ContentType ID="0x0120D520008d2ff418027e4c31b54d155b98596748"
                 Overwrite="True"
                 Name="Custom Dossier"
                 Group="Custom group"
                 Description="Custom dossier"
                 Inherits="True"
                 Version="0"&gt;
      &lt;FieldRefs&gt;
              &lt;FieldRef ID="{8D6C094C-3E1F-41f4-BEE3-25B27EE09702}" Name="Dossier_Nummer" DisplayName="Dossiernummer" Required="True"  /&gt;
      &lt;/FieldRefs&gt;
      &lt;XmlDocuments&gt;
        &lt;XmlDocument NamespaceURI="http://schemas.microsoft.com/office/documentsets/allowedcontenttypes"&gt;
          &lt;act:AllowedContentTypes xmlns:act="http://schemas.microsoft.com/office/documentsets/allowedcontenttypes" LastModified="05/31/2012 08:46:56"&gt;
            &lt;AllowedContentType id="0x0101" /&gt;
            &lt;AllowedContentType id="0x0101000490d50c50624b6ca21c637ef39cd89b" /&gt;
          &lt;/act:AllowedContentTypes&gt;
        &lt;/XmlDocument&gt;
      &lt;/XmlDocuments&gt;
    &lt;/ContentType&gt;
  &lt;/Elements&gt;
  </code></pre>