Expand my Community achievements bar.

Dive into Adobe Summit 2024! Explore curated list of AEM sessions & labs, register, connect with experts, ask questions, engage, and share insights. Don't miss the excitement.

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