Expand my Community achievements bar.

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?