Hi,
I am trying to use a notification subscriber:
Dynamicweb.DataManagement.Notifications.OnBeforeFormSave
However, when I try to save data, this is not reached.
Am i missing something?
[Subscribe(Notifications.OnBeforeFormSave)]
public class FormTest : NotificationSubscriber
{
public override void OnNotify(string notification, NotificationArgs args)
{
var log = LogManager.Current.GetLogger("jan");
log.Log("Var her OnBeforeFormSave");
Notifications.Form.OnBeforeFormSaveArgs loadedArgs = args as Notifications.Form.OnBeforeFormSaveArgs;
}
}