Press Ctrl / CMD + C to copy this to your clipboard.
This post will be reported to the moderators as potential spam to be looked at
I am trying to update an older library to work with version 6.0.2. The compiler tells me that:
'umbraco.cms.businesslogic.media.Media' is obsolete: '"Obsolete, Use Umbraco.Core.Models.Media"
but I can't find any event handler counterparts in Umbraco.Core.Models.Media.
What is the reccomended method to use?
Thanks!
Mark
i think you should be looking at the services in Umbraco.Core.Services.MediaService there is Saving and Saved.
is working on a reply...
Write your reply to:
Upload image
Image will be uploaded when post is submitted
Replacement for umbraco.cms.businesslogic.media.Media.AfterSave and other "Obsolete" event handlers
I am trying to update an older library to work with version 6.0.2. The compiler tells me that:
'umbraco.cms.businesslogic.media.Media' is obsolete: '"Obsolete, Use Umbraco.Core.Models.Media"
but I can't find any event handler counterparts in Umbraco.Core.Models.Media.
What is the reccomended method to use?
Thanks!
Mark
i think you should be looking at the services in Umbraco.Core.Services.MediaService there is Saving and Saved.
is working on a reply...