Appian Community and Appian Academy are being upgraded. As a part of the upgrade, Appian Community is currently in read-only mode, and user registration is disabled until August 3. We apologize for any inconvenience this may cause, but a more secure, stable, and performant Community experience is coming soon!

The new Appian Community launches August 3, followed by Appian Academy on August 7. During the migration, Appian Community Edition, Appian Academy, Documentation, Certifications, Instructor-led Customer Training, Partner Sales Training & Accreditation, and Forum (for Appian Partners and Customers only) will remain available.

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,
  • Split PDF Pages In Half - Supports spitting individual pdf pages horizontally or vertically with an overlap
  • Rotate PDF - rotate entire pdf by 90, 180, or 270 degrees
  • Convert Txt to PDF - Convert a text to pdf with a choice of font type and size
  • Split PDF Into Chunks - Splits a PDF document into multiple smaller PDFs with a specified number of pages per chunk

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
  • Find Pages with Text - Retrieves an array of page numbers that contain a specified search string within the PDF

Anonymous
  • @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