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?
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.