Overview
Contains multiple Smart Services and Functions for interacting with PDF Documents.
Key Features & Functionality
Smart Services:
Functions:
Hi.
I am trying to use Create PDF Smart service and need help with filling PDFContent data,
Is there an example that I can follow?
Thank you.
Hi, i'm using the following code while using this service but it's giving me this error in the process model node Create PDF
ERROR DETAILS: An error occurred in executing an Activity Class.
please note that the expression is working fine in the expression rules
{ '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: "Some" ), 'type!{urn:appian:ps:pdftools}PdfText'( value: "text" ) } ) } ) }
Hi Joe,
Having the same issue on 20.4, no previous versions of the plugin were installed before.
Thanks for the help!
Failed to enable Plug-in 'PDF Tools' (pdftools) version 2.2.10: '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)'
We are using the Smart Service "PDF from HTML" and facing issue in one of the environment stating:
bundleName for SmartServiceException, builder.smartServiceClass=class com.appiancorp.ps.xmlfo.ss.AbstractDocumentGeneration
It is not happening in lower environment (Dev). Need help
Hey Arun,The v2.2.10 development was for an unrelated manner, but I'll take a look at this and see if we can publish a new version with a fix for your issue.
Hi Druva Kota /
We are still facing this issue in our environment, Is there any fix recommended?
Hi Druva Kota,
Yes, the plugin was already available in the environments and we also have working processes using these smart services. We already tried deleting the cdt and the related smart services from the environment, but still we were not able to deploy this plugin.
We have also raised a support ticket for this issue and they asked us to update the cdt version in the plugin jar file. We tried to update the cdt version as suggested by this KB article, but we were not able to find the @Type annotation in the plugin code also we were unable to find the current version of the CDT.
Would you be able to help us resolve this issue? Please feel free to send us an email if you need any more clarifications.
cc:
Pratiksha, was this plugin previously deployed in your environment? If so, was the cdt "PdfField" every manually modified via XML?
There seems to be a conflict in the cdt version defined in the plugin and in your environment. I would recommend deleting that cdt from your environment, then re-deploying the plugin. See the bullet in the Edit section of the Data Type Plugin documentation, removing the conflicting cdt should allow the plugin to manually recreate a fresh cdt.
We are experiencing this same error on-premise with Appian 20.4.215.0 using pdftools-2.2.9.jar