Unable to Open an Url in a New Window from Custom Button on Home Page Applet
(Doc ID 484091.1)
Last updated on APRIL 08, 2024
Applies to:
Siebel Tools - Version 7.5.2.200 [16053] and laterz*OBSOLETE: Microsoft Windows 2000
Product Release: V7 (Enterprise)
Version: 7.5.2.200 [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.
Symptoms
After 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 Only = FALSE
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);
}
else
return (ContinueOperation);
}
Step - 3
=========
Browser Scripts
---------------
function Applet_PreInvokeMethod (name, inputPropSet)
{
if ( name == "OpenUrl" )
{
window.open("http://hostname.com");
return ("CancelOperation");
}
else
return ("ContinueOperation");
}
STEP - 4
=========
Compile
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"
Is there any limitation that Siebel does not allow to write specialize method on Home Page.
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 |