I have site collection ex: http://microsoft.com/ and i got few child webs:



   <Elements xmlns="http://schemas.microsoft.com/sharepoint/">
  <ContentType ID="0000"
               Group="my froup"
               Description="Page layout for intranet news."
      <FieldRef ID="{3B5B07A0-68DB-4BF6-AAAE-87B77CE430C6}" Name="LookupToPages" />

I added this content type to Web scoped feature.

When i am creating site collection and then child webs i got situation where content type created only on root site.

Web feature is activated on both root and child sites.

enter image description here

How to force sharepoint to create content type on child web?


You can only have Content types at Site or List level. So, even if your feature is scoped as web the Content types will be added to the Site level (at root web). From there on, content type will be available, to be added to the lists and document libraries in all webs and so on.

  • On each web i want separate lookup field configuration inside my content type.
    – Ievgen
    Jan 6 '13 at 15:40
  • 1
    create two different content types with separated lookup field configuration, and let each web use different content type Jan 6 '13 at 17:30
  • Falak Mahmood this is not possible. Over 20+ webs.
    – Ievgen
    Jan 6 '13 at 19:31
  • 1
    Would you please describe a little more context here? Jan 7 '13 at 3:48
  • I got parent site and 20+ child webs. For each web news content type will contains some specific fields that described by customer. Those content types will be generated in code and i want to activate common fields or common web separatelly on each child web.
    – Ievgen
    Jan 9 '13 at 18:00

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

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