I've been searching and testing for hours. When a user publishes a page (a new page or an update to an existing page) I want to respond with a process that inspects the PageNode and PageData that has been published.
What is the event I need to respond to? I'll avoid mentioning what I've tried so that it doesn't confuse the question. When a new page or an update to an existing page has been published, what event can I subscribe to or what method on what class do I need to override so that I can obtain the ID of the updated PageNode?
sender, EventArgs e)
Bootstrapper.Initialized += Bootstrapper_Initialized;
sender, Telerik.Sitefinity.Data.ExecutedEventArgs e)
sender, Telerik.Sitefinity.Data.ExecutingEventArgs e)
|| e.CommandName ==
var provider = sender
var dirtyItems = provider.GetDirtyItems();
(dirtyItems.Count != 0)
//Can be New, Updated, or Deleted
SecurityConstants.TransactionActionType itemStatus = provider.GetDirtyItemStatus(item);
var page = item
(itemStatus == SecurityConstants.TransactionActionType.New
|| itemStatus == SecurityConstants.TransactionActionType.Updated)
//plug your logic here
That looks like precisely what I need. I'll try it in a few hours. Thanks!
That worked perfectly. I stepped through it as I created and edited a few pages and it enabled me to isolate exactly what I'm looking for.