Overview
Contains multiple Smart Services and Functions for interacting with PDF Documents.
Key Features & Functionality
Smart Services:
Functions:
Hi,
I am using merge and extract document smart services of this wonderful plugin. Need some help on extract document service.
Extract document is working fine with sequence of pages like (if we have 10 pages and want to extract first 3 pages, we can give start page and end page) But if we have to extract first two pages(1,2) and last two pages(9,10).
Is it possible to achieve above use case ?
Thanks in advance!!
-Vinod
I see a message that this plugin (or some component it is using) has been deprecated when checking a process model in monitoring. I see no alternatives to the Plugin in the market.
Many thanks Druva for this wonderful plugin which we have been using for 3.5 years! Can we expect this to be updated to be compatible with latest Appian version and not use deprecated components? Would be great help!
Thanks,
Pavan
Yes, this smart service supports insertion of png, jpg, bmp and gif documents into new PDFs.
The contents of the new PDF is configured by passing in PdfContent object to the smart service. In this object, developers can define PdfSection, and within those an array of PdfText and/or PdfImage can be passed as components. Documents included in the PdfImage instances included in a section's contents will be inserted into that section upon generation.
For more information on the configuration options for PdfContents, you can review the Data Types section of the documentation included in the plugin download.
Can the create PDF content feature be used to insert images into a new PDF file? We have a requirement to include images in a PDF file dynamically.
The plugin library merge function is simply merging pages as it doesn't do consolidation. Essentially, you would have to write your own plugin to achieve this type of functionality using a pdf library that supports merging in the manner you are requesting.
We have blank spaces left in every pdf page ,When I am trying to Merge PDF it is leaving blank spaces we have in every page ,
Suppose I have 3 pdfs to merge and each pdf content is only half page, when i am merging 3 pdf, it is generating 3 page pdf, rather it should generate 2 page pdf, first page fully occupied and 2nd page half occupied. How can we achieve this.?
Hello Joe,
Did you find any solution? I am facing the same issue. Please let me know if any.
Cheers
Sushil kapoor
Hello,
Is this is compatible with Appian 19.3(cloud), As I tried to upload below error occurred?
ERROR com.appiancorp.plugins.LoggingPluginEventListener - Failed to enable Plug-in 'PDF Tools' (pdftools) version 2.2.5-SNAPSHOT: 'There was a problem loading the module descriptor: Fill PDF.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)' 2020-02-10 04:51:10,214 [ajp-nio-8009-exec-3] ERROR com.appiancorp.rest.shared.AppianExceptionMapper - Internal Server Error on REST API invocation. com.appiancorp.exceptions.LocalizedAppianRuntimeException$LocalizedAppianException: Expression evaluation error [evaluation ID = OMPZXXRL] : An error occurred while executing a save: java.util.UnknownFormatConversionException: Conversion = 'D' (APNX-1-4198-019) at com.appiancorp.exceptions.LocalizedAppianRuntimeException.(LocalizedAppianRuntimeException.java:16) at com.appiancorp.sail.UiServiceImpl.reevaluateUi(UiServiceImpl.java:84) at com.appiancorp.sail.UiServiceImpl.reevaluateUi(UiServiceImpl.java:56) at
I have a quick question regarding the Compress PDF smart service. The node input "Quality" takes a number, but I'm not sure what that number refers to. Is that a 1 to 10 scale like you see sometimes when creating/saving PDFs with other applications? Thank you!
Hi. Thank you for this plugin. We really enjoy it
We are using the smart service "Convert PDF to Image", and the function "Get PDF Text". Both of these, and probably the same for every smart service+function in this plugin, have the risk of throwing an exception when provided with invalid PDFs. I.e. when you have a PDF that is valid to view in documentviewer, but have corrupt metadata.
We are using it on arbitrary PDFs and we have a small percentage of PDFs failing to progress through the process. It is currently not possible to perform exception handling in a process model, so it would be nice to see a version of this plugin where exceptions are caught and returned through output parameters.