My Oracle Support Banner

The eScript code in Application_PreNavigate run twice if it returns CancelOperation and the destination is in dropdown list (Doc ID 2152560.1)

Last updated on APRIL 02, 2019

Applies to:

Siebel CRM - Version 15.7 [IP2015] and later
Information in this document applies to any platform.


In the following scinario, the escript code in Application_PreNavigate will be invoked twice.

(1) In Siebel Tools, go to [Application] and select 'Siebel Universal Agent'.
(2) Open eScript editor by pressing right button and selecting 'Edit Server Scripts'.
(3) Add a script as follow:
function Application_PreNavigate (DestViewName, DestBusObjName)
if (DestViewName == "Service Request Screen Homepage View") {
TheApplication().RaiseErrorText("the view is not accessible");
return (CancelOperation);
return (ContinueOperation);
(4) Compile SRF file and run Siebel Call Center in Open UI mode in IE or Firefox (the issue does not occur in Chrome).
(5) Change the navigation method to TAB (via [Tools]->[User Preferences]->[Behavior]->[Navigation Control] or 'DefaultNavigation' Object Manager parameter).
(6) Narrow the width of browser window so 'Service' screen tab gets hidden in the drop downn list under the right edge icon on the screen tab bar.
(7) Click the right edge icon on the screen tab bar and click 'Services' in the drop down list.
(8) You will see that the error message of 'the view is not accessible' is displayed twice.


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.