SWE Command That Executes the BS Rendering the Blank Page When Hit the URL Again in the Same Browser Session
(Doc ID 2828721.1)
Last updated on AUGUST 05, 2024
Applies to:
Siebel CRM - Version 20.1 and laterInformation in this document applies to any platform.
Symptoms
When attempting to call custom BS from the application URL in order to perform GotoView, it is rendering blank page and the following error occurs in the browser console:
Uncaught ReferenceError: Top is not defined
STEPS
--------
1) Create a custom server business service, for example "Test Goto View Service"
2) Add a custom method say "SCGotoView" to the above business service
3) Add following sample code which reads the input arguments, which are passed from the SWE command, and goes to a particular record within a view:
4) Access the application by hitting below URL, which invokes custom BS where GoToView method has been used:
https://XXXX:8011/siebel/app/callcenter/enu?SWECmd=InvokeMethod&SWEMethod=SCGotoView&SWEService=Test+Goto+View+Service&ViewName=Contact+Detail+View&BusObject=Contact&BusComp=Contact&FieldName=Id&FieldValue=1-105M9
5) To access different record, Change the ID in the URL and invoke the same service by hitting below URL in same session:
https://XXXX:8011/siebel/app/callcenter/enu?SWECmd=InvokeMethod&SWEMethod=SCGotoView&SWEService=Test+Goto+View+Service&ViewName=Contact+Detail+View&BusObject=Contact&BusComp=Contact&FieldName=Id&FieldValue=1-I7AC
This time it is rendering a blank page and above error shown in the browser console.
Issue not observed while using standard GotoView URL directly without calling it via custom BS for example:
https://XXXX:8011/siebel/app/callcenter/enu?SWECmd=GotoView&SWEView=Contact+Detail+View&SWERF=1&SWEHo=&SWEBU=1&SWEApplet0=Contact+Form+Applet&SWERowId0=1-105M9
Changes
Cause
To view full details, sign in with your My Oracle Support account. |
|
Don't have a My Oracle Support account? Click to get started! |
In this Document
Symptoms |
Changes |
Cause |
Solution |
References |