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

Print Button functionality

rssrocks
Level 1
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
GirishBedekar
Level 9
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 

GirishBedekar
Level 9
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...

Mayank_Gandhi
Community Advisor
Community Advisor

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

window.print()