Defining Content Type in MOSS 2007

No.of Views1288
Bookmarked0 times
Downloads 
Votes0
By  Dhananjay Kumar   On  16 Feb 2010 00:02:56
Tag : SharePoint , Enterprise Content Management
In this article, I am going to give and walkthrough of how to define a custom Content type in MOSS or SharePoint.
emailbookmarkadd commentsprint

Images in this article missing? We recently lost them in a site migration. We're working to restore these as you read this. Should you need an image in an emergency, please contact us at info@codegain.com

 

Objective

In this article, I am going to give and walkthrough of how to define a custom Content type in MOSS or SharePoint.

Step1
Go to Site Setting of the root site. Click on Site Action then select Site Setting. 

Image Loading

Step 2

From the Galleries section select Site content types.

Image Loading

Step 3

In Site Content Type Gallery, select Create option.

Image Loading

Step 4

I will define a new type called Press Content here. The values for different fields, I am giving as below.

 

Name: Press Content
Description: This is a new content type associate with the documents.
Parent Content type form: Document Content Types
Parent Content Type: Document
Group: Existing Group (Custom Content Type)
Image Loading

Step 5:

The new content type will have only one property called Title property. I will expand the properties by adding new columns.
The new properties, I will be adding as below,

1. Subtitle as Single Line of text and it would be an optional property.
2. Publish Date as date and time and it would be optional property.
3. PR Contact as Person or Group and it would be optional property.

To add new column from the column group select Add from New site columns 

Image Loading

Step 6:

To see how to add new site column, see my other articles on this site. After adding all the columns , the column group will look like below.

Image Loading

Step 7

Now I will update the Document Template. I will pull the Content type Meta data into uploaded document template.
To do this click on Advance setting in the Setting group inside Press Release Content type. 

Image Loading

Create a blank word document and save it. Browse to that document in upload the new document template section. Leave for other field the default values. 

Image Loading

Step 8

Up to this step I have created the custom content type. Now I am going to attach this content type to a document library. To attach go to advance setting of document library go to Document Library setting from setting. From General Setting go to advance setting.

Image Loading
Image Loading

 Select Allow Management of Content type Yes and leave other filed with default values.

Image Loading

Step 9

Inside Setting of document library, go to Content Types group. Here select Add From existing site contents.

Image Loading

Select the newly created content type and click ADD button.

Image Loading

Step 10
Go to Document library. While adding new item new document template with metadata of content type would be available there.

Image Loading

Conclusion

In this article, I have shown how to create a new custom content type. Thanks for reading. Happy Coding

 
Sign Up to vote for this article
 
About Author
 
Dhananjay Kumar
Occupation-Software Engineer
Company-Infosys Technolgies,Pune
Member Type-Gold
Location-India
Joined date-20 Jul 2009
Home Page-http://dhananjaykumar.net/
Blog Page-http://dhananjaykumar.net/
Dhananjay Kumar is Microsoft MVP on connected system. He blogs at http://dhananjaykumar.net/ . You can follow him http://twitter.com/debugmode_/ and reach him at dhananjay.25july@gmail.com
 
 
Other popularSectionarticles
    In this article,I will speak that is as useful as a headache.
    Published Date : 30/Jun/2010
    In this article, I'm going to explain how to create List of Definition in SharePoint 2010.The List Definition is brand new features in SharePoint 2010.
    Published Date : 22/Sep/2011
    Now its a time user need Rich User Interface with high level of interactivity that is easily possible with xhtml technologies
    Published Date : 21/Jun/2010
    Difference between MOSS and WSS
    Published Date : 16/Feb/2010
    Recently I have involved in branding one of our clients sharepoint portal. As part of the branding process we needed to modify the application.master file, so even the layout pages will have the same look and feel. As part of the investigation, we come up with the best approach for doing this.
    Published Date : 05/Sep/2010
Comments
There is no comments for this articles.
Leave a Reply
Title:
Display Name:
Email:
(not display in page for the security purphase)
Website:
Message:
Please refresh your screen using Ctrl+F5
If you can't read this number refresh your screen
Please input the anti-spam code that you can read in the image.
^ Scroll to Top