Subscribe:

Labels

Monday, June 13, 2011

Content Type


Content Type:-

       A content type is a reusable collection of settings you want to apply to a certain category of content. Content types enable you to manage the metadata and behaviors of a document or item type in a centralized, reusable way.
       To enable Content type in particular list go to list settings->Advanced Settings->click allow management of content types.
       When you add a site content type to a list, SharePoint copies a local copy of the site content type onto the list itself. This local instance is called a list content type and applies only to the list onto which it was copied.
        Site content types that are created at the root site of the collection, are available not only for its direct child sites but also for all sites further down the site hierarchy.
       On the ribbon, click Site Actions, and then select Site Settings. On the Site Settings page, look for the Galleries section, and then click Site content types to go to a page that lists content types that are available to the site. Notice that the list includes a column for Source. This is the name of the site in the site collection hierarchy where a content type is defined.
       one bigger change is that most of the columns which contained plain XML (content type definitions, views …) or BLOBs are now compressed in the database. This is a performance improvement, as such information can grow big
       Using object model we can create content type using SPContentType

No comments:

Post a Comment