This discussion has been locked. The information referenced herein may be inaccurate due to age, software updates, or external references.
You can no longer post new replies to this discussion. If you have a similar question you can start a new discussion in this forum.

Modify alert.asp to make advance alert engine default

 The attached file will make the Advance alert engine the default in the alert view.  We use the adv engine for all of our alerting and orions alert view defaults to the basic engine. So when ever we wanted to check for alerts on the web interface we had to select the advance engine and click on the refresh page. Below is a diff

 

Before 1
<option value="">Basic</option>
<%If Len(Request("Advanced")) > 0 Then %>
      <option value="T" selected>Advanced</option>
      <% Else %>
      <option value="T">Advanced</option>
      <% End If %>
 
After 1
<option value="">Basic</option>
      <% If Len(Request("Advanced")) > 0 Then %>
      <option value="T" selected>Advanced</option>
      <% Else %>
      <option value="T" selected>Advanced</option>
      <% End If %>
 
Before 2
If Len(Request("Advanced")) > 0 Then
            Set Alerts = Server.CreateObject("OrionNPMWeb.AdvancedAlerts")
      Else
            Set Alerts = Server.CreateObject("OrionNPMWeb.Alerts")
      End If
 
      Alerts.SelectAlerts
 
After 2
                If Len(Request("Advanced")) > 0 Then
            Set Alerts = Server.CreateObject("OrionNPMWeb.AdvancedAlerts")
      Else
            Set Alerts = Server.CreateObject("OrionNPMWeb.AdvancedAlerts")
      End If
 
      Alerts.SelectAlerts
Alerts.asp