GenerateSrvrReq Method

The GenerateSrvrReq method creates a request string that Siebel Open UI sends to the Siebel Server according to the current context of the application. It returns a string that includes a description of the full request. It uses the following syntax:

GenerateSrvrReq (command) 

where:

  • command is a string that identifies the name of the command that Siebel Open UI must request.

For example:

var request = SiebelApp.S_App.GenerateSrvrReq("LogOff")); 

In this example, the return value includes a string that contains the following information:

http(s)://server_name.example.com/siebel/app/callcenter/enu?
SWECmd=LogOff&SWEKeepContext=1&SWERPC=1&SRN=L8ct6oeEsPA3Cj7pF6spebyCLm2m
VGpB0D0tqGMcflcb&SWEC=18&SWEActiveApplet=Client Active Applet&SWEActiveView=Client 
Active View