Web Client

Opening a Browser Widget from a URL

  When calling the (DataView) userexit hlp_cal_txt in a LogiView procedure inside the WebClient, the Java session ID will be attached to the URL if a question mark is contained in the URL. This will prevent the URL from being opened in the WebClient.
   
  To solve this problem, the question mark in the URL has to be replaced by an appropriate encoding as indicated in line 90 of the following example:
 
Line Comment Line Statement
50   EP_APP_WEB_URL= "http://hostname/Conf.aspx?vtfile=13.vt"
60 C --For Internet Explorer Web Client, replace '?' with '?', so that '?' is not replaced with the Java Session ID.
70   EP_STRING = environment ("CLI_HWS")
80   if (strpart(EP_STRING, 1,2) == "IE")
90   EP_APP_WEB_URL = strsub(EP_APP_WEB_URL, "?")
100   endif
110   RES = @hlp_cal_txt(strcat("URL ", EP_APP_WEB_URL))

To prevent the problem with the questionmark, the userexit xapp_exc can be used instead.

Userexit Documentation