Skip to main content
Search Again

We think these articles could help you:

    See More

    ALERT: This site will be decommissioned at the end of December 2018. All existing and new Nintex knowledge content will be available within the new Knowledge Base area of the Nintex Community site. 

    Nintex Knowledge Base

    Verifying Document Conversion Service is Working

    Status: Validated

    How to test and verify that the Document Conversion Service is working.
    From the Sharepoint server, under Sharepoint Management Shell, run the following Powershell command: 
    $jobSettings = New-Object Microsoft.Office.Word.Server.Conversions.ConversionJobSettings
    $jobSettings.OutputFormat = "PDF"
    $job = New-Object Microsoft.Office.Word.Server.Conversions.ConversionJob("Word Automation Service", $jobSettings)
    $job.UserToken = (Get-SPWeb http://share).CurrentUser.UserToken
    $job.AddFile("http://DocumentLibrary/Doc.docx", "http://DestinationLibrary/TEST.pdf")
    • Replace the DocumentLibrary/Doc.Docx, with the source URL and document to be converted.
    • Replace the DestinationLibrary/Test.pdf  with the URL of the destination library.
    • Replace the http://Share with the URL to of the Site collection/Site.
    The Nintex Workflow Covert Document action utilizes the Document Conversion Service to convert a document to PDF.
    • Was this article helpful?