Hi
commentArgs is always null when I run this code (Sample from api doc), I have no problem with other notifications. Its the same with all the CommentNotifications i have tried.
What can be wrong?
using Dynamicweb.Extensibility.Notifications; using Dynamicweb.Notifications; namespace Dynamicweb.Examples.Notifications { [Subscribe(CommentNotification.OnAfterSave)] public class OnAfterSaveObserver : NotificationSubscriber { public override void OnNotify(string notification, NotificationArgs args) { var commentArgs = args as CommentNotification.CommentArgs; //Add code here } } }