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...
- If you have closed Visual Studio IDE, launch it as an administrator.
- Open the previously created ProjectProposal solution.
- Right-click on the project and select Add | SharePoint "Layouts" Mapped Folder as follows:
- This will create a mapped folder ...
Get Microsoft SharePoint 2010 Development with Visual Studio 2010: Expert Cookbook now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.