SharePoint User Group UK

Share the knowledge!

Welcome to SharePoint User Group UK Sign in | Join | Help
in
Home Blogs Forums Photos Files Roller

How to deploy a content type as a feature with web scope

Last post 05-09-2008, 2:01 PM by javieruy. 2 replies.
Sort Posts: Previous Next
  •  05-07-2008, 9:53 PM 10523

    How to deploy a content type as a feature with web scope

    Hi i need to deploy a content type in a subsite, i made a solution and  if in the feature i set the scope site it works ok, but if in the scope i put web when i  deploy the solution i have this error:

    Elements of type 'ContentType' are not supported at the 'Web' scope.  This feature could not be installed.

    This means i can't deploy content types using feature with web scope.

    I need help on this

    Thanks

     

  •  05-09-2008, 12:06 PM 10595 in reply to 10523

    Re: How to deploy a content type as a feature with web scope

    Hi,

    Content Types are a site collection resource.  They can only be created at the site collection level, they then are available for all sub sites in the site collection.

    Is there any reason why they should only be available in the particular web you are trying to deploy to?

    Thanks

    Dave


    My SharePoint Blog www.davehunter.co.uk/blog
  •  05-09-2008, 2:01 PM 10602 in reply to 10595

    Re: How to deploy a content type as a feature with web scope

    The reason is because i have content types specifically for a subsite, and my question is if i can create a content type in a subiste using the sharepoint ui why i can't do the deploy in a subiste using features?
View as RSS news feed in XML
Powered by Community Server, by Telligent Systems