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
Hi Team,
I am facing the below error. can someone help me to fix this error?
2023-05-16 12:47:24,886 [Appian Plugin Hot Deploy] ERROR com.atlassian.plugin.manager.DefaultPluginManager - There was an error loading the descriptor 'Pdftoolsfunctions' of plugin 'pdftools'. Disabling.com.atlassian.plugin.PluginException: com.appiancorp.suiteapi.common.exceptions.AppianException: The Function Module com.appiancorp.ps.pdftools.PDFToolsFunctions could not be installed due to invalid type: Invalid Type: Unsupported type [Lcom.appiancorp.ps.pdftools.types.PdfSignatureField;. Use the @Type annotation to indicate the type of a function parameter. The deprecated ’type’ attribute for the @Parameter annotation has been removed. (APNX-1-4104-008)at com.appiancorp.plugins.ExceptionHandlingModuleDescriptor.enabled(ExceptionHandlingModuleDescriptor.java:68)at com.atlassian.plugin.manager.DefaultPluginManager.notifyModuleEnabled(DefaultPluginManager.java:2039)at com.appiancorp.plugins.AppianPluginManager.notifyModuleEnabled(AppianPluginManager.java:78)at com.atlassian.plugin.manager.DefaultPluginManager.enableConfiguredPluginModule(DefaultPluginManager.java:1780)at com.atlassian.plugin.manager.DefaultPluginManager.enableConfiguredPluginModules(DefaultPluginManager.java:1757)at com.atlassian.plugin.manager.DefaultPluginManager.enableDependentPlugins(DefaultPluginManager.java:1263)at com.atlassian.plugin.manager.DefaultPluginManager.addPlugins(DefaultPluginManager.java:1218)at com.atlassian.plugin.manager.DefaultPluginManager.scanForNewPlugins(DefaultPluginManager.java:927)at com.appiancorp.plugins.AppianPluginManager.scanForNewPlugins0(AppianPluginManager.java:204)at com.appiancorp.plugins.AppianPluginManager.scanForNewPlugins(AppianPluginManager.java:196)at com.appiancorp.plugins.AppianPluginManager.scanResultIfNotDeployingPlugins(AppianPluginManager.java:184)at com.appiancorp.plugins.HotDeployerRunnable.run(HotDeployerRunnable.java:30)at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511)at java.util.concurrent.FutureTask.runAndReset(FutureTask.java:308)at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.access$301(ScheduledThreadPoolExecutor.java:180)at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:294)at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149)at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)at java.lang.Thread.run(Thread.java:748)Caused by: com.appiancorp.suiteapi.common.exceptions.AppianException: The Function Module com.appiancorp.ps.pdftools.PDFToolsFunctions could not be installed due to invalid type: Invalid Type: Unsupported type [Lcom.appiancorp.ps.pdftools.types.PdfSignatureField;. Use the @Type annotation to indicate the type of a function parameter. The deprecated ’type’ attribute for the @Parameter annotation has been removed. (APNX-1-4104-008)at com.appiancorp.process.expression.ExpressionFunctionModuleDescriptor.enabledInternal(ExpressionFunctionModuleDescriptor.java:159)at com.appiancorp.plugins.ExceptionHandlingModuleDescriptor.enabled(ExceptionHandlingModuleDescriptor.java:66)... 18 moreCaused by: com.appiancorp.suiteapi.type.exceptions.InvalidTypeException: com.appiancorp.suiteapi.common.exceptions.AppianException: Invalid Type: Unsupported type [Lcom.appiancorp.ps.pdftools.types.PdfSignatureField; (APNX-1-4047-000)at com.appiancorp.type.util.AppianTypeResolver.getRestrictedType(AppianTypeResolver.java:155)at com.appiancorp.type.util.AppianTypeResolver.inferAppianType(AppianTypeResolver.java:94)at com.appiancorp.type.util.AppianTypeResolver.inferReturnType(AppianTypeResolver.java:71)at com.appiancorp.process.expression.ExpressionFunctionModuleDescriptor.inferReturnType(ExpressionFunctionModuleDescriptor.java:203)at com.appiancorp.process.expression.ExpressionFunctionModuleDescriptor.enabledInternal(ExpressionFunctionModuleDescriptor.java:148)... 19 more2023-05-16 12:47:24,889 [Appian Plugin Hot Deploy] ERROR com.appiancorp.plugins.LoggingPluginEventListener - Failed to enable Plug-in 'PDF Tools' (pdftools) version 2.4.1: 'The Function Module com.appiancorp.ps.pdftools.PDFToolsFunctions could not be installed due to invalid type: Invalid Type: Unsupported type [Lcom.appiancorp.ps.pdftools.types.PdfSignatureField;. Use the @Type annotation to indicate the type of a function parameter. The deprecated ’type’ attribute for the @Parameter annotation has been removed. (APNX-1-4104-008)'
Did you find the solution? I am getting the same error.
Thanks In Advance.
Hi ,
we are getting this error on reading a pdf document which is as below
]: Use PDType1CFont for FontFile3
Can you help us in finding what the problem is
Not able to download the plugin
this works pretty well. What you mean by"I'm doing with hardcode value."?
Hi all,
How to convert image to pdf with multiple documents
I'm doing with hardcode value.
we have on-Premise Appian installation
Why is this plugin not working with 18.1? we have deployed this plugin in _admin/plugins folder and after JBOSS restart it is still missing.
kindly quick response is required
After upgrading to the latest version PDF Tools 2.4.1, the generated PDF is having format font issues. I created a new word template from scratch which it uses the word template to convert to PDF and still no luck. I have attached screenshots of the pdf and snippet of the process model. Anyone faced this issue? Please give me your suggestions on how to solve this issue.
Hi,
I am using Create PDF smart service to generate a PDF with plain text.
Am getting the following error in the Create PDF node.
???contents.error.alertMsg???
Error Text: U+000A ('controlLF') is not available in the font Helvetica, encoding: WinAnsiEncoding
Am using the following expression to generate PDF contents
a!localVariables(local!text: "Firstname Vikrant " & char(10) & "Lastname Bhardwaj " & char(10) & "Address 100 NW AVE " & char(10) & "City Irving " & char(10) & "Zipcode 12345 "&char(10) & "Country USA",'type!{urn:appian:ps:pdftools}PdfContent'( sections:{ 'type!{urn:appian:ps:pdftools}PdfSection'( style:'type!{urn:appian:ps:pdftools}PdfStyle'( font:"Times New Roman" ), components: { 'type!{urn:appian:ps:pdftools}PdfText'( value:local!text ) } ) }))
Please let me know how to resolve it.
Thanks,