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
Bedrock Mission!

Learn more

View all

Sign in to view all badges

Adobe Summit 2023 [19th to 23rd March, Las Vegas and Virtual] | Complete AEM Session & Lab list

How to get a pdf document out of a Document form

Avatar

Level 8
Level 8

Hi all,

I have a question of how to get the actual PDF out of a Document Form, when I take the @document value I only get some xml representation of the form, but I need to get the actual PDF.

Thanks in advance

Sincerely

Kim

1 Reply

Avatar

Level 10

The @document is the way to get the PDF out from the DocumentForm varibale. If you get just the data, it's because the DocumentForm was populated with just the data in the first place.

Make sure you submit PDF from your form and not just the data.

Jasmin