March 29, 2013

Create and Configure Word Automation Service

Word Automation Services Overview

Word Automation Services is a new service application in SharePoint Server 2010. Word Automation Services provides unattended, server-side conversion of documents into formats that are supported by the Microsoft Word client application.
In simplest terms, Word Automation Services takes the "Save As…" functionality of the Word client application and replicates it for the server.

Specifically, Word Automation Services provides the following capabilities:

Opens documents that Word can open, including
  • Open XML File Format documents (.docx, .docm, .dotx, .dotm)
  • Word 97-2003 documents (.doc, .dot)
  • Rich Text Format files (.rtf)
  • Single File Web Pages (.mht, .mhtml)
  • Word 2003 XML Documents (.xml)
  • Word XML Document (.xml)

Supports all automatic tasks that execute when a document opens, such as:

  • Updating the Table of Contents, the Table of Authorities, and index fields
  • Recalculating all field types
  • XML mapping
  • Setting the compatibility mode of the document to the latest version or to previous versions of Word
Saves documents types that Word can save. This list is identical to the previous list of files that the Word Automation Services can open, but also includes the following types:
  • Portable Document Format (PDF) files
  • XML Paper Specification (XPS) files
With Word Automation Services, tasks that previously required you to run the Word client application can now be automated to run unattended in a more reliable and scalable way.

Start a Word Automation Service

To start a "Word Automation Service" by using Central Administration
  • Verify that you have the following administrative credentials:
    • To start a Word Automation Service, You must be a member of the Farm Administrators group.
  • sOn the Central Administration Home page, in the System Settings section, click on the Manage services on server.
  • If Word Automation Service is shown Stopped then click on the Start.
  • After clicking on the Start, Word Automation Service status is shown Started

Create a Word Automation Service

To create a Word Automation Service by using Central Administration
  • Verify that you have the following administrative credentials:
    • To create a Word Automation Service, You must be a member of the Farm Administrators group.
  • On the Central Administration Home page, in the Application Management section, click on the Manage service applications.
  • Click on the new ribbon and then click Word Automation Services.
  • In the Name section, Type a name Ex- "Word Automation Service" in the textbox for the new service application.
  • In the Application Pool section, choose an existing Application Pool or Create a New Application pool name Ex- "Word Automation Service Apppool" in the textbox.
  • In the Application Pool section, choose a proper Account Ex- spservices from the Configurable dropdown.
  • In the Partitioned Mode section, uncheck the 'Run in partitioned mode' checkbox.
  • In the Add to Default Proxy List section, check 'Add this service application's proxy to the farm's default proxy list' Checkbox.
  • Click Next.
  • In the Database section, Type the name of the database ex- WSS_Content_WordAutomation (that you want to use to store the document queue for this instance), and Type the default Database Server where that database is installed.
  • In the Database Authentication section, choose Windows authentication.
  • Click Finish.

List all Word Automation Services

To list all the Word Automation Services by using Central Administration
  • On the Central Administration Home page, in the Application Management section, click on the Manage service applications.
  • The "Word Automation Services" are listed on the Manage Service Applications page.

Delete a Word Automation Service

To delete a Word Automation Service by using Central Administration
  • Verify that you have the following administrative credentials:
    • To delete a service, you must be a member of the farm administrators group.
  • On the Central Administration Home page, in the Application Management section, click on the Manage service applications.
  • Select the Word Automation Service that you want to delete.
  • On the ribbon, click Delete.
  • In the confirmation dialog box, check the 'Delete data associated with the Service Applications' checkbox and click OK.

OR

To delete a Word Automation Service by using Windows PowerShell
  • .Go to the Start menu, click All Programs
  • Click Microsoft SharePoint 2010 Products
  • Click SharePoint 2010 Management Shell.
  • From the Windows PowerShell command prompt (that is, PS C:\>), type the following below command and press ENTER:
Remove-SPServiceApplication
Command: remove-spserviceapplicationpool "Word Automation Service Apppool"

If you have any questions you can reach out our SharePoint Consulting team here.

No comments:

Post a Comment