Virtual Happy Hour this month, Jun 28, we'll be getting a sneak preview at our soon to launch SaaS CMS!

Try our conversational search powered by Generative AI!

Find all references to a MediaItem (ImageVault)



I'm planning to make a class that inherits the ImageVault.Common.Data.MediaItem, in order to add additional properties.

Now i'm wondering if it will be possible to query EPiServer's api to find all references to a specific image (that is of my implementation of MediaItem). To goal is to find each page och block that has a reference to the specifik image. In the same way you can get references to content.

repository.GetReferencesToContent(contentLink, false)
Version of EPiServer is 7.11. ImageVault is 4.5.2.

Sep 14, 2016 13:27

For Episerver 7 I would give ContentSoftLinkRepository a stab first and use the path of the file...

Haven't tried it though with ImageVault...

Sep 14, 2016 14:19
* 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.