Expand my Community achievements bar.

Adobe Summit 2025: AEM Session Recordings Are Live! Missed a session or want to revisit your favorites? Watch the latest recordings now.

Mark Solution

This conversation has been locked due to inactivity. Please create a new post.

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?

Avatar

Level 5

It's html source code of a page.