Sync tree from inside ContentService.Published event
Hi,
I have the following scenario in an ApplicationEventHandler. Hooking up to published event, create new node and save it:
ContentService.Published += (sender, e) =>
{
foreach (var publishedEntity in e.PublishedEntities)
{
var content = applicationContext.Services.ContentService.CreateContent(...);
applicationContext.Services.ContentService.Save(content);
}
}
This is all good and it does what it is supposed to. My question is how to reload the content tree and focus the newly created node from within this ApplicationeventHandler?
Sync tree from inside ContentService.Published event
Hi,
I have the following scenario in an
ApplicationEventHandler
. Hooking up to published event, create new node and save it:This is all good and it does what it is supposed to. My question is how to reload the content tree and focus the newly created node from within this
ApplicationeventHandler
?Is it doable?
is working on a reply...