Hi Techies,We are having requirement like We need to retrieve the Global sitemap segment nodes in Current sitemap.For this We have written Customlivesitemap java class as external, That will retrieve the nodes in sitemap while preview the page. But Here requirement is While previewing the page in SiteMap A , the page invoke the component that will call CustomLivesitemap External java class that will execute the method, that has to retrieve the nodes in SitemapB.But it is not happening . It is always retrieving the nodes for current sitemap..Please help me on this. Document doc = (Document) rcontext.getLiveSiteDal().getSiteMap("SiteMapB").getDocument().clone();
Document doc = (Document) rcontext.getLiveSiteDal().getSiteMap("SiteMapB").getDocument().clone();
Document doc1 = ExternalUtils.readXmlFile(context, relativePath);Document doc2 = context.getLiveSiteDal().readXmlFile(relativePath);