Programmatically Creating SiteMap

Posted by Community Admin on 04-Aug-2018 19:01

Programmatically Creating SiteMap

All Replies

Posted by Community Admin on 08-May-2012 00:00

I am trying to programmatically create a sitemap file and am running into an issue with page/user permissions. I have a .NET handler file that contains the logic to pull all of the page nodes from Sitefinity and create the sitemap file at a given time interval. I am using the PageManager to do this and setting the SuppressSecurityChecks property to "True" for the pagemanager provider. This is working well with the exception of pages that are only accessible to users who are assigned a custom role (i.e.-Member, NonMember, etc.). For those pages, the page node title is returned properly, but the corresponding url is empty. Does anyone know what might be causing this to happen?

This thread is closed