Setting the URL in the Request Object instead of the journey

When feedback is received through the response object it contains the HTML to be displayed to the visitor within your own website.
The sensors (hyperlinks) within this HTML redirect the visitor to the location of the content renderer. This mechanism ensures that the next page is also displayed in the desired look and feel.

Typically the destination URL is set at the level of the journey within Selligent Journeys.
However, it is possible to write the destination URL in the Request object. Using this method you can re-use one single journey within Selligent from out of multiple different content renderers.

 

The Syntax to set the destination URL within the Request object is as follows:

Selligent journeys:

Just add this one simple line to your content renderer before it calls Selligent.

iRequest.Attributes["SYSTEM.MAILAGENT"] = "http://www.mydomain.com/contentrenderer.aspx?ID=%s";

 

Selligent Forms:

Two lines are required:

iRequest.Attributes["MAILAGENT"] = "http://www.mydomain.com/contentrenderer.aspx?ID=%s";

iRequest.Attributes["FROMCRM"] = "1";

 

Back to overview