My Oracle Support Banner

Unable to Open an Url in a New Window from Custom Button on Home Page Applet (Doc ID 484091.1)

Last updated on FEBRUARY 02, 2022

Applies to:

Siebel Tools - Version [16053] and later
z*OBSOLETE: Microsoft Windows 2000
Product Release: V7 (Enterprise)
Version: [16053]
Database: Oracle 8.1.5
Application Server OS: Microsoft Windows 2000 Advanced Server SP 2
Database Server OS: Microsoft Windows 2000 Server

This document was previously published as Siebel SR 38-928725751.


I am trying to add a button to a Home page applet

Applet name : Aventis Specialty Contact List Applet (My Personal Contact)
Project        : Siebel Universal Agent
BC        : Contact

Spep 1

I Drag and drop button into empty placeholder on WebLayout (In the Blue Bar next to Cancel(Query)) and made the following changes

Caption = AVENTIS
HTML Display Mode = EncodeData
HTML Type = MiniButton
MethodInvoke = OpenUrl
Runtime = TRUE
Visible Language Override = TRUE

Step - 2
Server Scripts

function WebApplet_PreCanInvokeMethod (MethodName, &CanInvoke)
    if (MethodName =="OpenUrl")
        CanInvoke ="TRUE"           
        return (CancelOperation);
        return (ContinueOperation);

Step - 3

Browser Scripts

function Applet_PreInvokeMethod (name, inputPropSet)
    if ( name == "OpenUrl" )
        return ("CancelOperation");    
                  return ("ContinueOperation");

STEP - 4


Step - 5

Run genbscript.exe.

When I lauch my application, I can see the Aventis Button on the applet. But when I click
this Button I got the following message

"We detected an Error which may have occurred for one or more of the following reasons:

The specialized method 'OpenUrl' is not supported on Business Component 'Contact'
used by Business Object 'Life Sciences Home'. - SBL-DAT-00222"

I did the same thing for SIS Account Entry Applet and the button is working fine in that applet
and I can launch aventis web site from that applet.

Is there any limitation that Siebel does not allow to write specialize method on Home Page.


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

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