Find pages linking to certain file (UnifiedFile)?

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