Developer forum

Forum » Development » notifications

Reply
Hi,

Is there a list of all the available notifications?

We need to process submitted POST values, and I am trying to check the available ones.

Nuno

Replies

 
Nicolai Høeg Pedersen
Reply
Notifications can be found in Dynamicweb.Notifications namespace

The one you need for this, I think:

Dynamicweb.Notifications.Standard.Application.BeginRequest

Like this...
<Subscribe(Notifications.Standard.Application.BeginRequest)> _
 Public Class BeginRequest
  Inherits NotificationSubscriber

  Public Overrides Sub OnNotify(ByVal notification As String, ByVal args As NotificationArgs)
   For Each key As String In HttpContext.Current.Request.Form
    Dim Value As String = HttpContext.Current.Request.Form(key).ToLower
   Next

  End Sub
 End Class

 
Reply
That's perfect. Thank you

nuno

 

You must be logged in to post in the forum