Expand my Community achievements bar.

Radically easy to access on brand approved content for distribution and omnichannel performant delivery. AEM Assets Content Hub and Dynamic Media with OpenAPI capabilities is now GA.

Fetch sitemap.xml content through code.


Level 6

I'm trying to get sitemap.XML content from code using the status is showing ok but the content is coming null.

2 Replies


Community Advisor

Hi @Keerthi0555 
Are you using OOTB sitemap generator?

Did you tried from Publishers or are you trying from dispatcher?

Arun Patidar



@Keerthi0555 Did you find the suggestions from users helpful? Please let us know if more information is required. Otherwise, please mark the answer as correct for posterity. If you have found out solution yourself, please share it with the community.

Kautuk Sahni