My Oracle Support Banner

staticSitemap.xml Displays Wrong Content (Doc ID 2975337.1)

Last updated on OCTOBER 24, 2023

Applies to:

Oracle Commerce Cloud Service - Version 23.05 and later
Information in this document applies to any platform.


When bringing up the https://<Storefront_URL>/staticSitemap.xml, the data is coming from the 'default' clientApplication versus the clientApplication mapped to the site. 


Customer is using Multi Site in CX Commerce, where they have created one or applications under /ccstore/v1/clientApplications, where each Storefront under /ccstore/v1/sites has been assigned to a clientApplication. As such, the expected behavior when bring up https://<Storefront_URL>/staticSitemap.xml, is it will display the staticSitemap.xml for specified Site. However, what is occurring is the 'default' application is rendered in the staticSitemap.xml. The only way to display the correct staticSitemap.xml is to use the x-occ-app query parameter (example: https://<Storefront_URL>/staticSitemap.xml?x-occ-app=<clientApplication_id>)


To view full details, sign in with your My Oracle Support account.

Don't have a My Oracle Support account? Click to get started!

In this Document

My Oracle Support provides customers with access to over a million knowledge articles and a vibrant support community of peers and Oracle experts.