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
Parents
  • Hi ,

    This plugin is not getting deployed to our cloud environment [Appian Version 20.3].

    Deployment Error:

    2020-12-21 10:56:26,280 [ajp-nio-0.0.0.0-8009-exec-4469] ERROR com.atlassian.plugin.manager.DefaultPluginManager - There was an error loading the descriptor 'Fill PDF' of plugin 'pdftools'. Disabling. 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.FillPDFPauseOnError, input or output named PdfFields (APNX-1-4104-005)

Comment
  • Hi ,

    This plugin is not getting deployed to our cloud environment [Appian Version 20.3].

    Deployment Error:

    2020-12-21 10:56:26,280 [ajp-nio-0.0.0.0-8009-exec-4469] ERROR com.atlassian.plugin.manager.DefaultPluginManager - There was an error loading the descriptor 'Fill PDF' of plugin 'pdftools'. Disabling. 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.FillPDFPauseOnError, input or output named PdfFields (APNX-1-4104-005)

Children
  • Hi Joe,

    Having the same issue on 20.4, no previous versions of the plugin were installed before.

    Thanks for the help!

    Failed to enable Plug-in 'PDF Tools' (pdftools) version 2.2.10: 'There was a problem loading the module descriptor: Fill PDF.<br/>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.FillPDFPauseOnError, input or output named PdfFields (APNX-1-4104-005)'

  • Hey Arun,

    The v2.2.10 development was for an unrelated manner, but I'll take a look at this and see if we can publish a new version with a fix for your issue.

  • Hi /

    We are still facing this issue in our environment, Is there any fix recommended?

  • Hi ,

    Yes, the plugin was already available in the environments and we also have working processes using these smart services. We already tried deleting the cdt and the related smart services from the environment, but still we were not able to deploy this plugin. 

    We have also raised a support ticket for this issue and they asked us to update the cdt version in the plugin jar file. We tried to update the cdt version as suggested by this KB article, but we were not able to find the @Type annotation in the plugin code also we were unable to find the current version of the CDT.

    Would you be able to help us resolve this issue? Please feel free to send us an email if you need any more clarifications.

    cc:

  • Pratiksha, was this plugin previously deployed in your environment? If so, was the cdt "PdfField" every manually modified via XML?

    There seems to be a conflict in the cdt version defined in the plugin and in your environment. I would recommend deleting that cdt from your environment, then re-deploying the plugin. See the bullet in the Edit section of the Data Type Plugin documentation, removing the conflicting cdt should allow the plugin to manually recreate a fresh cdt.