O'Reilly logo

Microsoft SharePoint 2010 Developer's Compendium: The Best of Packt for Extending SharePoint by Carl Jones

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Associating a document template with the content type

In the introduction to content types, we specified that a content type can include document templates and/or workflows. In this recipe, we will include a document template for our Project Proposal content type.

Getting ready

You should have completed the previous recipes successfully. Create a word template and name it ProjectProposal.dotx.

How to do it...

  1. If you have closed Visual Studio IDE, launch it as an administrator.
  2. Open the previously created ProjectProposal solution.
  3. Right-click on the project and select Add | SharePoint "Layouts" Mapped Folder as follows:
    How to do it...
  4. This will create a mapped folder ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required