Developer forum

Forum » Dynamicweb 9.0 Upgrade issues » Subscribe to item saved notification

Subscribe to item saved notification

Lars Larsen
Lars Larsen
Reply

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!


Replies

 
Martin Vang
Reply

You should still be able to subscribe to Items.Saving.

Can you show me the code that isn't working for you?

 
Lars Larsen
Lars Larsen
Reply

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.

 

 
Martin Vang
Reply
This post has been marked as an answer

Subscribe has been moved from Dynamicweb.Extensibility.Subscribe to Dynamicweb.Extensibility.Notifications.Subscribe

Does that work for you?

Votes for this answer: 1
 
Nicolai Pedersen

 

You must be logged in to post in the forum