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
Hey,
I am using Umbraco 7.8.1. I need to develop our custom code that get execute when Unpublish occur using the Scheduled publish.
I have created delegate that is being called at automatic Publish event as below :
ContentService.Saved += delegate (IContentService sender, SaveEventArgs<IContent> args) { }
I also have created delegate for Unpublish as below but it doesn't get executed at the time of Unpublish
ContentService.UnPublished += delegate (IPublishingStrategy sender, PublishEventArgs<IContent> args) { }
What is going wrong here? Any help will be appreciated !
is working on a reply...
Write your reply to:
Upload image
Image will be uploaded when post is submitted
Override Unpublish Event
Hey,
I am using Umbraco 7.8.1. I need to develop our custom code that get execute when Unpublish occur using the Scheduled publish.
I have created delegate that is being called at automatic Publish event as below :
I also have created delegate for Unpublish as below but it doesn't get executed at the time of Unpublish
What is going wrong here? Any help will be appreciated !
is working on a reply...