Skip to main content

Articles

Go Search
Home
eLumenotion Blog
  
Elumenotion > Articles > Wiki Pages > Add a New Content Type Feature > Page History  

Add a New Content Type Feature

 
Version HistoryVersion History
|
Alert Me
This page does not show changes in Web Parts, images, or HTML formatting.
Deleted Added
Modified at 2/4/2010 9:07 AM  by Doug WareNo presence information 
Wiki Content
 
Add a New Content Type Feature
  • Right-click the project node in Solution Explorer and select Add|New Item or press CTRL+SHIFT+A to open the Add New Item dialog.
Add New Item
  • Select Content Type, enter StoreData as the Name, and click Add.
Add New Item Dialog
  • The SharePoint Customization Wizard opens. Select Item as the base content type and click Finish.
Choose Content Type
 
In actuality, it doesn't matter which base content type selection is made in the wizard because this feature will contain a variety of elements that will replace what Visual Studio generates. At this point you should see some new items in Solution Explorer: a feature named Feature1 and an item named Store Data.
 
Solution Explorer
 
Select Feature1 and press F2 to rename it. Enter StoreData as the new name.
 
Rename Feature
 
Finally, double-click StoreData to open the feature's designer. Change the Title to Store Data and enter a meaningful description like Fields, Content Types, and Lists for the store.
 
Feature Title and Description