- Setting up Word Automation Services for SharePoint 2013
- Setting up PowerPoint Automation Services for SharePoint 2013
- Converting a Library’s Word Documents to PDF
- Converting a Library’s PowerPoint documents to PDF
- Using ITextSharp to Merge PDF’s into one
- Using ITextSharp to create basic PDF page from item property
Word Automation Services for SharePoint 2013 is a SharePoint Service Application and it gives developers a way to perform server-side conversion of documents that are supported by Microsoft Word. This service was available in SharePoint 2010, however the newer version now allows on demand file conversions and converting streams to files. (Steams with Word Automation Service can only be used with on demand conversions, not Timer job-based requests.
This blog post will walk you through the steps of setting up your SharePoint 2013 on premise farm to use Word Automation Services. This feature is not available with SharePoint Online.
Before you start, ensure in your AD you have created a service account. Mine is called WordAutomation.
- Open Central Administration
- Under Application Management > Service Applications select Manage service applications
- In the ribbon bar area, click New > Word Automation Services
- On the Create New Word Automation Services Application dialog. Fill in:
a. Name: WAS
b. Create New Application pool: WASAppPool
c. Security Account for Application Pool – Configurable: [Domain]\WordAutomation
(Note: You might have to Register your new Managed account first, before it shows up in your Configurable Drop down list)
d. Add to Default Proxy List: Tick
- Click Next
- On the next screen enter:
a. Database Server: [SQL Server]
b. Database Name: WASDatabase
- Click Finish
- Once created your Word Automation Services and Proxy will be displayed in the Service Applications list.
When you click WAS link you will be taken through to the configuration of the Word Automation Services. You will not need to change any of this to start using the Word Automation Services, however it is useful looking over these settings in case you need to change them in the future.
- Lastly, in Central Administration, under System Settings, click on Services on Server, and ensure that you have Started the Word Automation Services.
In Part 3 of these blog posts I will demo how to code against the Word Automation Services to convert Word Documents to PDF.