Hi,
I'm working on a notification subscriber, in order to update a certain itemfield, whenever a new page of a certain itemtype is created.
I have been using the code below, but when I try to get information about the item saved from the args, it is always empty (null)
Am I subscribing to the wrong kind of notification? I've also tried subscribing to the Dynamicweb.Notifications.Standard.Page.Saved notification, but with the same result.
Best regards
Kurt Moskjaer Andersen
[Subscribe(Dynamicweb.Notifications.ItemNotification.Saved)] public class ItemSaved : NotificationSubscriber { public override void OnNotify(string notification, NotificationArgs args) { if (args == null) return; var pna = (Dynamicweb.Notifications.ItemNotification.ItemArgs)args; } }