Cyprich.com

Occasionally Relevant Insights from a Software Builder

By

Updating RSVP from the Delivery Message in a DFS Notification

I had complaints from customers that the Viewed column in the Notification RSVP Status Results wasn’t updated when they sent out a notification (see below). Normally, there should be a date and time when the customer clicked on a link in their notification e-mail that lead them to the planroom.

Notification RSVP Status Result

The problem is that if you set the e-mail link to go right to the project, the Viewed column won’t be updated. This column will only be updated if the URL will take you to the Display HTML page in the notification. The URL needs to point to (%NP:NotificationURL%) to open the Display HTML page and then the Viewed column will be updated with the date and time they entered that page.

The notification that you create may not necessarily require a Display HTML page and should go directly to the DFS project. In situations like this, its best to direct the link to Display HTML, and then in that page redirect the user automatically to the project with (%NAN:Project URL%) as the URL.

The notification will need Project URL defined in the Attributes tab. The only required fields that should be set are Type = Text and Length = 200.

Notifications will then update the Viewed column in RSVP every time a user clicks on a link to enter a project. They won’t see the Delivery Message because it has no content to display.

Below is an example of URL redirection. The Delivery Message is an e-mail the customer receives and when they click on the link, it will take them to their project. The e-mail only sends the customer’s user name and password to use their planroom. There is no need for a Display HTML page and the client should be go directly to the planroom when they click on the enter planroom link. The link here will open the Delivery Message which then redirects them to the Project using Refresh in a metatag.

 

[== Code: Delivery Message ============================]

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

<html xmlns="http://www.w3.org/1999/xhtml">
  <head>
    <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
    <title>DFS Account Information</title>
  </head>

  <body>
    <p>The following user account will allow you to login to a DFS Plan Room, where you can view and order documents.</p>

    <p>User Name: <strong>(%NRP:LoginName%)</strong><br />
    Password: <strong>(%NRP:Password%)</strong></p>

    <p>Click <a href="(%NP:NotificationURL%)">here</a> to enter the planroom.</p>
  </body>
</html>

[== Code ==============================================]

 

[== Code: Display HTML ================================]

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

<html xmlns="http://www.w3.org/1999/xhtml">
  <head>
    <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
    <meta http-equiv="Refresh" content="0; url=
(%NAN:Project URL%)">
    <title></title>
  </head>

  <body>
  </body>
</html>

[== Code ==============================================]

Leave a Reply

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.