Try our conversational search powered by Generative AI!

Getting all pagereferences to a page

Vote:
 

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
Vote:
 

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
* You are NOT allowed to include any hyperlinks in the post because your account hasn't associated to your company. User profile should be updated.