WebRemedyBackChannelUrl Function

Action

This function converts an XML representation of data, which is contained in the form formUrl, to the format expected by Remedy Web servers on the BackChannel URL by means of the function RemedyBackChannelData. It then performs a WebPageUrl call using this converted data.
Note: This function is only available with Remedy projects.

Include file

Remedy.bdh

Syntax

WebRemedyBackChannelUrl( in sUrl    : string
                         in sTimer  : string optional
                         in formUrl : form optional ): boolean;

Return value

  • true if successful

  • false otherwise

Parameter Description
sUrl Absolute URL to the document on the server. All characters that are part of the query string are not URL-encoded.
sTimer Optional: Name of the timer used for page measurements. If this parameter is omitted, no measurements are performed.
formUrl Optional: Form identifier used in the dclform section. The expanded form is added to the URL after the "?". The XML representation of the BackChannel data which is contained in the form is converted to the Remedy native data format by use of the function RemedyBackChannelData.

Example

dcltrans
transaction TWeb
begin
  WebRemedyBackChannelUrl("http://10.10.1.30/arsys/BackChannel/", 
  "BackChannel - GetURLForForm (#1)", ARSYS_BACKCHANNEL_016);
end TWeb;

dclform
ARSYS_BACKCHANNEL_016:
  "param"              := "<?xml version='1.0'?>\r\n"
                          "<RemedyXml operation=\"GetURLForForm\">\r\n"
                          "  <string name=\"server\">dev-sun-001</string>\r\n"
                          "  <string name=\"app_name\"></string>\r\n"
                          "  <string name=\"form\">PBCT:SelectClient_dlg</string>\r\n"
                          "  <string name=\"view\"></string>\r\n"
                          "  <bool name=\"fetch_dimensions\">1</bool>\r\n"
                          "  <string name=\"win_name\"></string>\r\n"
                          "  <string name=\"win_arg\"></string>\r\n"
                          "</RemedyXml>";