How to understand if a document is PDF or PDFA

salvo91cantoro

24-01-2018

Hi guys, i'm new in this fantastic community, so hello everyone!

I have a problem with a process in LiveCycle Workbench ES4:

how can i understand if a input document is a simple pdf or a pdfa?

I've tried with

getDocContentType(/process_data/@inputDocument)

but either it's pdf or pdfa it always gives me the same result:

"application/pdf"

How can I resolve this problem???

Accepted Solutions (1)

Accepted Solutions (1)

salvo91cantoro

25-01-2018

I resolve it!

I used the "Validate PDF / A" process which returns a "ValidationResultPDFA" object from which the "@isPDFA" string can be extracted. Later I made a simple check on that string (true).

Answers (0)