Getting all pagereferences to a page

 

I need to get all the pagereferences set in EPiServer which are pointing to a the page Im standing on. The functionality should be de same as getting the warnings about incoming pagereferences when trying to delete a page from EPiServer edit.

Anyone have any idea where to look?

#28316 Mar 03, 2009 11:07
  • Stellan Danald
    Member since: 2004
     

    There are two places I would start looking.

    First I would check out SoftLink.LoadReferencing(CurrentPage.PageLink) to find pages that have links in their HTML to the currentPage.

    Secondly I would do a search for pages using the "PageShortcutLink" criteria to find pages that links to the specific page via the "Shortcut" tab.

     Good luck!

    #28340 Mar 03, 2009 18:42