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
SOLVED

Print options for AEM Mobile App article content

Avatar

Level 1

What are the possible print options to print either article/collection content from a AEM Mobile App? Are there any custom Cordova plug-ins to achieve this?

1 Accepted Solution

Avatar

Correct answer by
Employee

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.

0 Replies

Avatar

Correct answer by
Employee

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.

Avatar

Level 1

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