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!

Find pages linking to certain file (UnifiedFile)?

Vote:
0
Hello, I have an issue where we want to find out on what pages we are using or linking to certain files/images. We've set up Unified File System and it all works fine. When right clicking on an image for instance in the file manager I get a list of "Linking pages". My question now is how is this implemented? How can I get this same list of linking pages from a certain UnifiedFile?. Best regards Martin
#12956
Mar 07, 2007 10:47
Vote:
0
Hi! Have a look at the methods available in the EPiServer classes SoftLink and SoftLinkCollection (both found in the EPiServer.DataAbstraction). // This should give you the same list as you see in the Filemanager. SoftLinkCollection myCol = SoftLink.Load(path); Kind regards, Mari
#15151
Mar 07, 2007 17:27
Vote:
0
Thank you Mari, Works perfect :-) /Martin
#15152
Mar 08, 2007 14:33
* 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.