PDF Tools

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

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.

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.
Anonymous
  • Hello again,

    I fixed it! This has been stumping my team for weeks but it was as simple to use as you described. Our problem was we were still using version 1.5 of the plugin

  • Hello,

    I am trying to follow the information mentioned in the v2.2.1 Update to add images to a PDF using the Fill PDF smart service but have had no success getting the image to map to the pdf and it does not give an error. I have tried both .PNG and .JPG images with no success.

    In Acrobat when creating the form template what field type and settings need to be in place to map the image correctly? In Acrobat for windows there is no Image form field type and on mac the image field appears to be simply an altered button type but following the instructions does not add the image to the form!

    I know my smart node is correct because passing a text pdffield as well will populate correctly but passing the image field and document id has no effect. Please help clarify what I could be missing.

    Thank you

  • , can you check the application logs and see if there are more details? Also, is the pauseonerror flag set to true or false? If its true can you change it to false and then see if you get more error details either in process or in logs? Like  asked in earlier comments please share all the details either with me (rahul.patil@appian.com) or with Sylvain, so we can try to reproduce this issue in-house.

    I am assuming you are already using the latest version of the plug-in, if not please update the latest and give it a try.

  • I also have the same issue in 18.4 when using the Convert PDF to Image smart service.

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

  • Hello Sylvain,

    We are facing the same issue in our 18.2 :

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

    Any help would be appreciated.

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