Skip to main content

Introduction to Content Types

http://msdn.microsoft.com/en-us/library/ms472236.aspx
Create a site content type based on the Document parent content type

  1. On the Site Actions menu click Site Settings and Modify All Site Settings.
  2. On the Site Settings page under Galleries, click Site content types.
  3. On the Site Content Type Gallery page, click Create.
  4. On the New Site Content Type page, type a Name for the content type (for example Samples), select Document Content Types from the Select parent content type from drop-down list box.
  5. Select Document from the Parent Content Type drop-down list box, select Custom Content Types from the Existing group drop-down list box, and click OK.
  6. On the Site Content Type page under Settings, click Advanced settings.
  7. On the Site Content type, Advanced Settings page, select Upload a new document template, and then click Browse to browse to and select the excel document template created in Step 1 to assign to the site content type.
  8. On the Site Content type Advanced Settings page, click OK.

    Add the content type to a document library created

    1. Navigate to the document library to which you want to add the content type.
    2. On the Settings menu, click Document Library Settings.
    3. On the Customize page under General Settings, click Advanced settings.
    4. On the Document Library Advanced Settings page, select Yes for Allow management of content types?, and click OK.
    5. Back on the Customize page under Content Types, click Add from existing site content types.
    6. On the Add Content Types page, select Custom Content Types from the Select site content types from drop-down list box, select the content type you created (here: Samples) from the Available Site Content Types drop-down list box, click Add to add the content type to the list of Content types to add, and then click OK.
    7. On the Settings menu of the SharePoint document library, click Document Library Settings.
    8. On the Customize page for the SharePoint document library under Content Types, click Change new button order and default content type.

      Comments

      Popular posts from this blog

      Sharepoint Interview questions

      What is Microsoft Windows SharePoint Services? How is it related to Microsoft Office SharePoint Server 2007? Windows SharePoint Services is the solution that enables you to create Web sites for information sharing and document collaboration. Windows SharePoint Services -- a key piece of the information worker infrastructure delivered in Microsoft Windows Server 2003 -- provides additional functionality to the Microsoft Office system and other desktop applications, and it serves as a platform for application development. Office SharePoint Server 2007 builds on top of Windows SharePoint Services 3.0 to provide additional capabilities including collaboration, portal, search, enterprise content management, business process and forms, and business intelligence. What is Microsoft SharePoint Portal Server? SharePoint Portal Server is a portal server that connects people, teams, and knowledge across business processes. SharePoint Portal Server integrates information from various systems into o

      SharePoint 2010 Branding: Change site actions and welcome menu arrows

      Here's how you can do it. Hide the image and give our custom image element a background image. Look Like: .ms-viewselector-arrow {     background: transparent url('/PublishingImages/images/Arrow.png') no-repeat scroll 0 0;     height: 4px; /* height of the image */     width: 5px; /* width of the image */ } .ms-viewselector-arrow img {     display: none; }

      Lookup field does not showing values in sharepoint2013

      SharePoint Custom Form Shows HTML as Text on Lookup Fields   When creating a custom display form on SharePoint Designer, the form displays the actual HTML instead of rendering the HTML on the lookup columns. For example, see the below image: For the lookup value issue, you need to slightly modify the XSLT of the particular field from designer and add the attribute disable-output-escaping="yes" to the field.