Applet_PreInvokeMethod catches WriteRecord more than once (Doc ID 2147267.1)

Last updated on MARCH 02, 2017

Applies to:

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

Symptoms

(1) Create or use a view with a list applet and a form applet.

(2) Write the following browser code in the form applet.

--------------------------------------------------------------------
function Applet_PreInvokeMethod (name, inputPropSet)
{
  if (name == "WriteRecord") {
  alert("aaa");
  return ("CancelOperation");
  }
  return ("ContinueOperation");
}
----------------------------------------------------------------------

(3) Compile SRF file and run Siebel application.

(4) Go to the view and create/edit a record on the form applet.

(5) Click on list applet.

(6) The script will be called more than once.

Cause

Sign In with your My Oracle Support account

Don't have a My Oracle Support account? Click to get started

My Oracle Support provides customers with access to over a
Million Knowledge Articles and hundreds of Community platforms