sitecore6 - Sitecore - Do stuff when media item saved -
When a media item is saved, I have to run some custom code, but no media items are found in the pipeline. We are not trying to change the item anytime that ever - when we save any media item, we run some custom code. Google mentions Sitcom. Resources. Media. The media provider but I have read that it can not be overridden. Is anyone aware of a pipeline or custom processor that we can be removed when saving media content?
I am running Sitcom 6.5Rep 120706.
Cheers
A MediaItem receives customItemBase class from the CustomItemBase class Also uses items: saved events so that you can create a custom event to handle your custom code.
This is a quick way to check that you are working with media entities:
if (myItem.Paths.IsMediaItem) {// your custom code} < / Code>
Comments
Post a Comment