Highlighted

Adding Print functionality in a Adaptive Form AEM 6.2

Avatar

Avatar

abhishekk219718

Avatar

abhishekk219718

abhishekk219718

23-02-2017

Hi All - I was trying to add a print functionality to my Adaptive Form which should print the entire form when clicked, my form is in a tabbed layout and the print button i added just prints the first tab. Is there any other way to get this implemented ? please suggest.

Thanks,

Abhishek

Replies

Highlighted

Avatar

Avatar

TundraSteve

Avatar

TundraSteve

TundraSteve

15-03-2017

You should round trip the AF data to create a document of record and print that instead.  Trying to print the HTML of an AF will provide you very inconsistent results and isn't a best practice.

Highlighted

Avatar

Avatar

Mayank_Gandhi

Employee

Avatar

Mayank_Gandhi

Employee

Mayank_Gandhi
Employee

15-03-2017

As Steve said , you can generate DoR and use that further for printing or save it for future reference. 

For 6.2 you may refer to https://helpx.adobe.com/aem-forms/6-2/generate-document-of-record-for-non-xfa-based-adaptive-forms.h...