PDF Tools

Overview

Contains multiple Smart Services and Functions for interacting with PDF Documents.

Key Features & Functionality

Smart Services:

  • Merge PDF - Merges multiple PDF documents into a single document.
  • Extract PDF Pages - Extracts a range of pages from an existing PDF into a new PDF.
  • Fill PDF - Populates the fields of a PDF Form and optionally flattens it disallow further changes.
  • Create PDF Content - Allows text to be added to a PDF with control over the style, position, and angle. An existing PDF can be updated or a new one created from scratch.
  • Convert PDF to Image - Creates an array of images or a multi-page tiff from a PDF.
  • Compress PDF - Compresses the images in the PDF to make it smaller.
  • Un-protect and Copy PDF - Using the document password, create an un-protected copy of a protected PDF.
  • Convert Image to PDF - Creates a PDF starting from one or many images. It also supports multi-page tiff images.
  • Encrypt PDF - Encrypts an existing PDF with a password.

Functions:

  • Get PDF Metadata - Retrieves metadata on the PDF: page count, title, author, security, encryption, etc.
  • Get PDF Text - Retrieves the text content from a PDF.
  • Get PDF Form Fields - Retrieves the populated form field values of an unflattened PDF.
  • Get PDF Signature Fields - Retrieves the populated signature field values of an unflattened PDF.
  • Get PDF Bookmarks - Retrieves the list of bookmarks and associated page number in the PDF

Anonymous
  • @janv - I would like to reproduce this error locally so I can take a deeper look. Is it possible for you to share with me the different PDFs that you are trying to merge together?

    You can send them directly to my email address at sylvain.furt@appian.com

  • could you please paste the entire error message and stack trace? It was the entire error message. I don't have access to the stack trace.

    Could you also provide the following information?

    - when is the error happening?  During deployment of the plugin?  During execution? During execution of the merge pdf action.

    - what is the language and locale of the appian instance running the plugin? English

  • Error Occuing when converting PDF to JPG in 18.4 Appian - Error as follows:

    bundleName for SmartServiceException, builder.smartServiceClass=class com.appiancorp.ps.pdftools.AbstractPDFDocumentGeneration

  • @janv - could you please paste the entire error message and stack trace?

    Could you also provide the following information?

    - when is the error happening?  During deployment of the plugin?  During execution?

    - what is the language and locale of the appian instance running the plugin?

  • Hi, we're facing the same error on version 18.3:

    bundleName for SmartServiceException, builder.smartServiceClass=class com.appiancorp.ps.pdftools.AbstractPDFDocumentGeneration

    Any updates on this yet?

  • Hi Team,

    We're getting issues with the Plugin. The error is:

    bundleName for SmartServiceException, builder.smartServiceClass=class

    com.appiancorp.ps.pdftools.AbstractPDFDocumentGeneration

    The platform version is 18.2. Let us know what would fix this, coz it's affecting also production apps that uses this.

  • Hi , We are facing issue with the plugin after upgrade to 18.3. Is this not supported ?

  • Hi , the issue may be environment-specific.  However, please see if this KB article helps: community.appian.com/.../kb-1097-illegal-attempt-to-change-the-data-type-for-smart-service-x-x-x-input-or-output-named-name-error-thrown-during-plugin-deployment.

    Additionally, you may want to post in Discussions as your question will have the most visibility there!

  • Hello,

    We received the following error trying to deploy the latest version of PDFTools in Appian 18.2.  Any help is appreciated.

    12:56:32,037 INFO  [stdout] (Appian Plugin Hot Deploy) 2018-08-02 12:56:32,037 [Appian Plugin Hot Deploy] INFO  com.appiancorp.process.admin.LoadACSchemas - Attempted to skip registration of [com.appiancorp.ps.pdftools.MergePDF] as it is current [2.1.0], but the ActivityClassSchema was not registered, so re-registering

    12:56:32,063 INFO  [stdout] (Appian Plugin Hot Deploy) 2018-08-02 12:56:32,063 [Appian Plugin Hot Deploy] INFO  com.appiancorp.process.admin.LoadACSchemas - Attempted to skip registration of [com.appiancorp.ps.pdftools.ExtractPDFPages] as it is current [2.1.0], but the ActivityClassSchema was not registered, so re-registering

    12:56:32,089 INFO  [stdout] (Appian Plugin Hot Deploy) 2018-08-02 12:56:32,089 [Appian Plugin Hot Deploy] ERROR com.atlassian.plugin.manager.DefaultPluginManager - There was an error loading the descriptor 'Fill PDF' of plugin 'pdftools'. Disabling.

    12:56:32,093 INFO  [stdout] (Appian Plugin Hot Deploy) com.atlassian.plugin.PluginException: com.appiancorp.suiteapi.common.exceptions.AppianRuntimeException: com.appiancorp.process.admin.IncompatibleSmartServiceRegistrationException: The Smart Service Module was invalid: Illegal attempt to change the data type for smart service pdftools.FillPDF, input or output named PdfFields (APNX-1-4104-005)

  • Hello

    FillPDF doesnt support Unicode Arabic .

    Thanks