My Oracle Support Banner

Using window.open from HTML Javascript To Start Siebel Corrupts The Siebel Menu and Symbolic URLs In Open UI (Doc ID 1592871.1)

Last updated on MARCH 06, 2023

Applies to:

Siebel CRM - Version 8.1.1.10 [23021] to 8.1.1.10 [23021] [Release V8]
Information in this document applies to any platform.

Symptoms

If you open Siebel using window.open with a name argument of "name" or _blank, when Siebel opens all of the menu selections are missing except for Search, and no Symbolic URLs work.

 

Test Case:

Created a simple Symbolic url using the following:

Steps to create a Symbolic URL in an applet on a View.  This Symbolic URL
will open External Application

1) Add field to the Service Request BC:
Lock Project Service
Name = AAA Symbolic URL
Calculated = True
Calculated Value = "AAA Symbolic URL"
Type = DTYPE_TEXT

2) Use Create Object Wizard to create a form applet the display the web page:
Project = Service
Name = AAA Symbolic URL Browser Applet
Title = AAA Symbolic URL Browser Applet
Business Component = Service Request
Preserve
Use Grid
NEXT
Edit Mode
NEXT
Only AAA Symbolic URL
NEXT
NEXT (Default Controls)
Class = CSSFrame
Finish

3) Edit Web Layout.
Remove Field Title and stretch the control.
Field Retrieval Type = Symbolic URL
HTML Display Mode = DontEncodeData
HTML Row Sensitive = True
HTML Type = Field
Visible = True

4) Add new applet to Service Request Detail View:
Lock Project Service SSV
Add new View Web Template Item
Name = AAA Symbolic URL Browser Applet
Item Identifier = 3
Applet = AAA Symbolic URL Browser Applet
Applet Mode = Edit

5) Compile Projects: Service Request, Service Request SSV

6) Define the Symbolic URL
Name = AAA Symbolic URL
URL = EXTERNAL URL
Fixup Name = Default
SSO Disposition = IFrame

7) Define Symbolic URL Arguments
None Needed

Built a simple html page with the following:

 

<!DOCTYPE html>
<html>
        <head>
         <script language='javascript' type='text/javascript'>

         window.name = 'OpenWindow'

              function MyOpenWindow()
              {

                   var sURL = 'http://localhost/callcenter_enu/start.swe?SWECmd=ExecuteLogin&SWEUserName=Username&SWEPassword=password';
 //                  var sWindowName = 'SiebelCRM';
                    var sWindowName = '_blank';
                   var MyWindow = window.open(sURL,  sWindowName, 'toolbar=yes, location=yes, directories=yes, status=yes, menubar=yes, scrollbars=yes, resizable=yes, copyhistory=yes, width=800, height=600');
                   MyWindow.location = sURL;
                   if (window.focus) {MyWindow.focus()};
                   return false;


              }

         </script>
<meta http-equiv="content-type" content="text/html; charset=utf-8" />
            <title>Open Window</title>
    </head>

    <body>
         <button onclick='return MyOpenWindow()'>Open window</button>
    </body>

</html>

 

 

 


Verified that Symbolic URL is working in HI when Siebel started normally, and when  started through HTML button.
Verify that Symbolic URL is working in Open UI when started normally, but not when using HTML javascript. (Tested in Chrome)
Also note that Menu is only showing Search when started using  var sWindowName = 'SiebelCRM'; or var sWindowName = '_blank';

Navigate to Service Request, drill into a Service Request, and then to the Activities tab.  See that the Symbolic URL is not working.

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


My Oracle Support provides customers with access to over a million knowledge articles and a vibrant support community of peers and Oracle experts.