Expand my Community achievements bar.

July 31st AEM Gems Webinar: Elevate your AEM development to master the integration of private GitHub repositories within AEM Cloud Manager.

How to get the page source by impersonating.

Avatar

Level 5

Hi, 

 

There's a requirement to get the html source code of a page by making impersonating user request where this content is used as email body. So how to access the page source after impersonating? also how to get html source code of a page.

 

Thank you

2 Replies

Avatar

Level 5

Could you please elaborate more ? Also, is it Page resource  (sling) or source?