Print options for AEM Mobile App article content | Community
Skip to main content
This post is no longer active and is closed to new replies. Need help? Start a new post to ask your question.
IvanMi1Accepted solution
Employee
Apr 12, 2018 3:05 PM UTC

Your best bet is to build a javascript "window.print();" command into your HTML article template.

There are a few Cordova plugins out there for print commands, but they all require that you add header files to the app. In this case it is often to add a button at the chrome level. AEM Mobile apps do not support this, as only Cordova extensions that can be called at the article level are allowed.

2 replies

vishnupriyad264
New Participant
Apr 12, 2018 6:31 PM UTC

Hi Ivan,

Thank you for explaining the options. I will add a button/link in to the HTML article template that calls the  javascript code "window.print();" upon the click of that button/link.

Regards,

Vishnu

Translate
IvanMi1Accepted solution
Employee
Apr 12, 2018 3:05 PM UTC

Your best bet is to build a javascript "window.print();" command into your HTML article template.

There are a few Cordova plugins out there for print commands, but they all require that you add header files to the app. In this case it is often to add a button at the chrome level. AEM Mobile apps do not support this, as only Cordova extensions that can be called at the article level are allowed.

Translate