static void DataEvents_OnStoreChanged(object sender, StoreEventArgs storeEventArgs)
{
if (!storeEventArgs.DataEventsFired)
{
// an external update event happened - DataEvents_OnBeforeAdd not fired
// here a complete cache flush could be done
}
return;
}
Could anyone please give me an example on how I could get the contents of the changed IPage when using OnStoreChanged Event? I need to know the IPage ID, Title, Description. When I run this event I see I get the event triggred two times. One for the published scope and one for the unpublished scope, even it I just do a publish for the IPage item.↧
New Post: Event subscriptions - best practices
↧