Content Type Designer In Visual Studio 2011

If you worked with visual studion 2010 to create a new content type in SharePoint 2010, you will remeber that you have to create an XML file define the content type and it columns.

Now in Visual Studio 2011, no XML , there is a designer.

first, create a new SharePoint 2010 project in Visual Studio 2011

Add new Item to your project


Visual Studio will ask you for the parent contnet type to inheret from:


After you click “Finish”, the below screen will appear to add your columns to your content type and in this screen you can choose the columns and determine weather the column is required or not.


Also, if you clicked on “Common Properties”, you will edit the follwoing :

  • Contetn Type name
  • Description
  • Group Name to categorize your content types
  • Inherits the columns from the parent Content Type
  • Set the Content Type to read-only
  • Hide the content type in the list “New” button


You still able to see and edit the XML file of your content type, just navigagte to the “Solution Explorer” as below.




Leave a Reply

Fill in your details below or click an icon to log in: Logo

You are commenting using your account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s