Hi
In DW8 it was possible to subscribe to the notification "Dynamicweb.Notifications.Items.Saving". But how is that done in DW9? It seems like it's not possible in the same way in DW9 as it was in DW8!
Hi
In DW8 it was possible to subscribe to the notification "Dynamicweb.Notifications.Items.Saving". But how is that done in DW9? It seems like it's not possible in the same way in DW9 as it was in DW8!
You should still be able to subscribe to Items.Saving.
Can you show me the code that isn't working for you?
Hi Martin
I try this:
[Dynamicweb.Extensibility.Subscribe(Dynamicweb.Notifications.Items.Saving)]
public class ItemSaved : Dynamicweb.Extensibility.NotificationSubscriber
{}
But it seems like Subscribe does not exist in the Dynamicweb.Extensibility namespace.
Subscribe has been moved from Dynamicweb.Extensibility.Subscribe to Dynamicweb.Extensibility.Notifications.Subscribe
Does that work for you?
Updated the cheatsheet: http://doc.dynamicweb.com/releases-and-downloads/releases/upgrading/dw9-api-cheatsheet
You must be logged in to post in the forum