More in this section

Forums / Developing with Sitefinity / Programmatically Creating SiteMap

Programmatically Creating SiteMap

1 posts, 0 answered
  1. Dustin
    Dustin avatar
    14 posts
    Registered:
    14 Jun 2011
    08 May 2012
    Link to this post
    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?
1 posts, 0 answered