Expand my Community achievements bar.

SOLVED

Where i need to check generated xml AEM repository(crx/de).

Avatar

Level 2

Hi Team,

    Issue: I am not able identify sitemap xml path in crx/de, how to display sitemap XML  to sitemap component.

1) installed acs commons  package

2) provide resource type path in osgi cnfiguration(Sitemap Servlet)

configmgr.PNG

3) displayed sitemap generatr xml file.

xml File.PNG

Thanks

Kotireddy

1 Accepted Solution

Avatar

Correct answer by
Community Advisor

Hi,

you can render sitemap without creating dedicated component, you just need to provide resource type of your page from there you want to generate sitemap. For more info you can check below:

Sitemap Generator



Arun Patidar

View solution in original post

3 Replies

Avatar

Community Advisor

Hi,

As per docs

Once this is configured, the site map can be generated by requesting a page of the configured resource type with the selector sitemap and the extension xml.

That means it is not generating/creating xml files in repository but on run time responding with sitemap xml content, that means when you hit sitemap.xml , a servlet is being invoked which process paths to generate sitemap xml and respond back with content.



Arun Patidar

Avatar

Level 2

thanks Arun,

How to render sitemap component in page?

Avatar

Correct answer by
Community Advisor

Hi,

you can render sitemap without creating dedicated component, you just need to provide resource type of your page from there you want to generate sitemap. For more info you can check below:

Sitemap Generator



Arun Patidar