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.
Overview
Contains multiple Smart Services and Functions for interacting with PDF Documents.
Key Features & Functionality
Smart Services:
Functions:
Find Pages with Text - Retrieves an array of page numbers that contain a specified search string within the PDF
Hello, we are getting an error while trying to merge some pdf pages. This error does not occur all the time, just sometimes. I attach the error message
We had a pair of occurrences that caused the environment to crash after attempting to merge more than 10 documents. What JVM settings are your referring to? Application server settings?
Hi Jose Carlos Jarquin, there is not a defined limit, but for a really high number of files it will depend on the settings of the JVM.
Marco Amador is there a limit of files that the Merge PDF Smart Service will work with?
Hi Athira,
I also submitted a new version of the plugin containing the required library, which is currently under review and should hopefully be available soon. Glad to hear you proceeded with the workaround for the time being.
Thanks
Hi,
We resolved this by adding the required library into the plugin jar and since our environment was on the cloud, we raised an Appian Support ticket to deploy the updated jar to our environments.
This is the feedback I got from Appian support for the issue with deploying the plug-in code.
To resolve this issue, you will need to change the plugin code to explicitly reference PdfField?list^1 so that it matches the internally mapped version of the CDT, then recompile the plugin and attach the new .jar to this case. To do this, please identify each @Input and @Output of type "PdfFields" in the plugin code, the update its annotation following the Action section of KB-1097. For example, the error references the smart service "FillPDFPauseOnError," so you will need to make the following update in the file FillPDFPauseOnError.java:
Old: @Input(required = Required.ALWAYS)@Name("PdfFields")public void setPdfFields(PdfField[] val) { this.pdfFields = val;}
New:@Input(required = Required.ALWAYS)@Name("PdfFields")@Type(namespace = "">types.appiancorp.com/ps", name = "PdfField?list^1")public void setPdfFields(PdfField[] val) { this.pdfFields = val;}
Any plans to update a new version with these changes? If not, I will plan on making these changes myself on my end. Thanks!
{ 'type!{urn:appian:ps:pdftools}PdfContent'( page: 1, xPercent: 10, yPercent: 10, angle: 0, sections: { 'type!{urn:appian:ps:pdftools}PdfSection'( style: null, components: { 'type!{urn:appian:ps:pdftools}PdfText'( value: "Example" ), 'type!{urn:appian:ps:pdftools}PdfText'( value: "Content" ) } ) } )}