How can I notify EPiServer that an image is in use

Vote:
 

Hi

I've created a dojo widget for handling multiple images.
I'm using string (JSON) to save the images.

My problem is that EPiServer does not know that the images are in use.
If I try to delete an image in the file archive, EPiServer doesn't notify me.

Does anyone know how I can notify EPiServer that an image or IContent is in use?

#122400
Jun 02, 2015 10:10
Vote:
 

Hi,

You should implement IPropertySoftLinkIndexer class:

http://world.episerver.com/documentation/Items/Developers-Guide/EPiServer-CMS/8/Content/Properties/Custom-properties/

#122413
Jun 02, 2015 12:38
Vote:
 

Great, thanks! 

#122415
Jun 02, 2015 12:56
This topic was created over six months ago and has been resolved. If you have a similar question, please create a new topic and refer to this one.
* 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.