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 options for AEM Mobile App article content

Avatar

Avatar
Validate 1
Level 1
vishnupriyad264
Level 1

Likes

0 likes

Total Posts

2 posts

Correct Reply

0 solutions
Top badges earned
Validate 1
View profile

Avatar
Validate 1
Level 1
vishnupriyad264
Level 1

Likes

0 likes

Total Posts

2 posts

Correct Reply

0 solutions
Top badges earned
Validate 1
View profile
vishnupriyad264
Level 1

11-04-2018

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?

Accepted Solutions (1)

Accepted Solutions (1)

Avatar

Avatar
Boost 50
Employee
Ivan_Mironchuk
Employee

Likes

50 likes

Total Posts

133 posts

Correct Reply

43 solutions
Top badges earned
Boost 50
Validate 1
Unlock
Ignite 3
Ignite 1
View profile

Avatar
Boost 50
Employee
Ivan_Mironchuk
Employee

Likes

50 likes

Total Posts

133 posts

Correct Reply

43 solutions
Top badges earned
Boost 50
Validate 1
Unlock
Ignite 3
Ignite 1
View profile
Ivan_Mironchuk
Employee

12-04-2018

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.

Answers (1)

Answers (1)

Avatar

Avatar
Validate 1
Level 1
vishnupriyad264
Level 1

Likes

0 likes

Total Posts

2 posts

Correct Reply

0 solutions
Top badges earned
Validate 1
View profile

Avatar
Validate 1
Level 1
vishnupriyad264
Level 1

Likes

0 likes

Total Posts

2 posts

Correct Reply

0 solutions
Top badges earned
Validate 1
View profile
vishnupriyad264
Level 1

12-04-2018

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