Your achievements

Level 1

0% to

Level 2

Tip /
Sign in

Sign in to Community

to gain points, level up, and earn exciting badges like the new
BedrockMission!

Learn More

View all

Sign in to view all badges

How to understand if a document is PDF or PDFA

Avatar

Avatar
Validate 1
Level 1
salvo91cantoro
Level 1

Likes

0 likes

Total Posts

4 posts

Correct Reply

1 solution
Top badges earned
Validate 1
Affirm 1
View profile

Avatar
Validate 1
Level 1
salvo91cantoro
Level 1

Likes

0 likes

Total Posts

4 posts

Correct Reply

1 solution
Top badges earned
Validate 1
Affirm 1
View profile
salvo91cantoro
Level 1

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)

Avatar

Avatar
Validate 1
Level 1
salvo91cantoro
Level 1

Likes

0 likes

Total Posts

4 posts

Correct Reply

1 solution
Top badges earned
Validate 1
Affirm 1
View profile

Avatar
Validate 1
Level 1
salvo91cantoro
Level 1

Likes

0 likes

Total Posts

4 posts

Correct Reply

1 solution
Top badges earned
Validate 1
Affirm 1
View profile
salvo91cantoro
Level 1

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)