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