@Work: Creating a Content Type
I recently had a request to add a field to provide descriptions with folders in SharePoint. Basically, my boss wanted to be able to provide instructions as to what should go into the folder.
I knew I’d have to create a content type. Content types are very easy to implement once you understand what they are and what they do. Content types can inherit characteristics from parent content types that already exist. In my case, the folder content type would be the parent and the new content type would be “Folder with Description”.
Creating Content Type
- Go to Site Actions->Site Settings
- Click “Content Types” (Under Galleries)
- Select “Create” from the top of the screen and you will be presented with this screen:
- Fill in the name and description (optionally)
- Now Select the Parent Content Type. This is the content type that most closely matches the characteristics that you want your new content type to possess. I selected “Folder Content Types” because I wanted a folder, with the added capability of providing a description. Under folder you will have two types “Folder” and “Discussion”. I chose “Folder”.
- I chose to place the new content type into an Existing Group rather than a new group, just as personal preference and clicked “OK”.
Modifying the Content Type
- Once my content type was created, all I needed to do was add the additional characteristics that my boss wanted it to have. So, I found the content type that I created and clicked on it (it will be presented as a hyperlink).
- I selected “Add from existing site columns”. I know that a description field exists, so I didn’t have to create anything from scratch.
- I selected the “Description” column
And clicked “Add->”
- I chose not to update all content types inheriting from this type.
Add New Content Type as an option in a Library
Your new content type will not show up immediately. You have to tell your library to recognize and utilize the new content type. This is how you do that.
- Navigate to the library that you want to use your content type
- Select Settings->Document Library Settings
- Select “Advanced Settings” under General Settings
- On the “Document Library Advanced Settings” page, change “Allow Management of Content Types” to “Yes” and click “OK”. This will provide an additional group of settings under the header “Content Types” on the Customize page.
- Click “Add from existing site content types”
- Select your new content type from the “Available Site Content Types” box and click “Add” to move it to the “Content Types to Add” box and click “OK”
You should now be able to see your new content type as an option when you click the “New” button in your library.
Post a Comment