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

Print Button functionality

Avatar

Level 1

I am facing issue with print button functionality for preview HTML in designer, whereas it is working fine in Preview PDF.

rssrocks_0-1630855282304.png

 

When Preview HTML and clicked on same Print button not working, is there anything I need to configure specially for Preview HTML or anything I am missing?

rssrocks_1-1630855312335.png

 

4 Replies

Avatar

Level 9

Not all actions will work in html preview and print button is one of them 

 the documentation on mobile forms lists the differences 

Avatar

Level 1

@GirishBedekar : How to acheive the same functionality in Preview HTML now?

 

Avatar

Level 9

You will have write custom code to do that

not possible out of the box. this article expects some AEM developer experience 

yhus article explains how to do that

https://experienceleague.adobe.com/docs/experience-manager-learn/forms/document-services/generate-pd...

Avatar

Employee Advisor

@rssrocks  the print xfa script will not work in HTML, for HTML instead use

window.print()