Exercise 4: Deploying Document Templates in a WSP
In this exercise you will be taking an add-in and a document template that have already been created and deploying them in a WSP. You’ll learn how to add a simple add-in to a Module element and deploy it to a SharePoint Server. Then you’ll learn how to deploy a document template to a new Document Library and update its deploy location using a feature receiver.
Task 1 – Create a new SharePoint 2010 project
In this task, you will publish the InvoiceTemplate add-in and create a new SharePoint 2010 project to deploy the add-in.
Task 2 – Create the SharePoint objects needed to deploy the Invoice Document
In this task, you will create the content type and module used to deploy the add-in.
Task 3 – Create the Feature that will deploy the InvoiceDocument Add-in
In this task, you will create the feature that will deploy the SharePoint items you just created.
Task 4 – Deploy and test the new Invoice Document template
In this task, you will finish the deployment of the new add-in by registering the certificates and adding the appropriate paths to Word’s trusted locations.