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...
This forum is in read-only mode while we transition to the new forum.
You can continue this topic on the new forum by tapping the "Continue discussion" link below.
Continue discussion
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...
This forum is in read-only mode while we transition to the new forum.
You can continue this topic on the new forum by tapping the "Continue discussion" link below.