London Dev Meetup Rescheduled! Due to unavoidable reasons, the event has been moved to 21st May. Speakers remain the same—any changes will be communicated. Seats are limited—register here to secure your spot!
AI OnAI Off
London Dev Meetup Rescheduled! Due to unavoidable reasons, the event has been moved to 21st May. Speakers remain the same—any changes will be communicated. Seats are limited—register here to secure your spot!
Actually, I also want to know (in code) in any one of pages A,B or C that they reference page D via dynamic content - SoftLinks don't seem to do this either.
Haven't tried it myself but maby this method can work.
http://sdk.episerver.com/library/cms6.1/html/M_EPiServer_DataFactory_GetLinksToPages.htm
Mikael,
Thanks for the suggestion, but no joy I'm afraid - the GetLinksToPages method seems to return all pages that have links to the page reference passed as a parameter that are specified either in XHTML content or as properties, but doesn't get pages referenced by dynamic properties.
Hi,
A simple question, I think...
I have a Page property dynamic content setting on pages A, B and C which points to a property on page D
From page D, is there any way for me to tell whether it is being referenced from pages A,B and C?
I've tried using SoftLink.Load(page D's pagelink) - which I expect to show me the pages/files referenced by page D, and it does,
or SoftLinks.LoadReferencing(page D's pagelink) - which I expect to show me pages that reference this page, but pages A,B and C aren't in the results.
Anyone any ideas?
Thanks in advance,
Mark