Overview
Contains multiple Smart Services and Functions for interacting with PDF Documents.
Key Features & Functionality
Smart Services:
Functions:
Hi,Looks like there's an issue when using getpdfmetadata.Expression evaluation error at function 'getpdfmetadata' [line 50]: XML handling failure trying to convert value com.appiancorp.ps.pdftools.types.PdfMetadata@5d283490 to Appian type PdfMetadata (id=3084)It appears that there are "BAD" pdf files that cannot be read and will throw an error.Will there be a proper exception handling for this function?
*without any errors
Found a work around. use the "Un-protect and Copy PDF" Smart Service.
This will ensure that using the function, getpdfmetadata will not throw an uncaught exception. The newly created un-protected copy of PDF will be "clean" and using getpdfmetadata will work without an errors.