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 raw list of bookmarks in the PDF.

Anonymous
Parents
  • Hi

    Thus plug-in no longer deploys in one of our internal CS Cloud environments. Support have diagnosed this as an issue with a deprecated function to change the data type of a CDT. In this environment there is already a PdFField CDT with a different namespace:

    PdfField (http://types.appiancorp.com/ps). Deleting this CDT before deploying the plug-in does not seem to make any difference - the CDT is re- created with the same namespace during the failed deployment.

    Deployment error:

    2020-10-07 02:25:00,850 [localhost-startStop-1] ERROR com.appiancorp.plugins.LoggingPluginEventListener - Failed to enable Plug-in 'PDF Tools' (pdftools) version 2.2.9: '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)' 

    Support recommendation:

    In terms of next steps, I recommend following the steps outlined in the following KB to update the CDT version that the plug-in is referencing in the code: 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

Comment
  • Hi

    Thus plug-in no longer deploys in one of our internal CS Cloud environments. Support have diagnosed this as an issue with a deprecated function to change the data type of a CDT. In this environment there is already a PdFField CDT with a different namespace:

    PdfField (http://types.appiancorp.com/ps). Deleting this CDT before deploying the plug-in does not seem to make any difference - the CDT is re- created with the same namespace during the failed deployment.

    Deployment error:

    2020-10-07 02:25:00,850 [localhost-startStop-1] ERROR com.appiancorp.plugins.LoggingPluginEventListener - Failed to enable Plug-in 'PDF Tools' (pdftools) version 2.2.9: '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)' 

    Support recommendation:

    In terms of next steps, I recommend following the steps outlined in the following KB to update the CDT version that the plug-in is referencing in the code: 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

Children