Siebel Advisor API Reference > Callout Point Functions for Siebel Advisor >

OverrideFunction


Usage

Use the OverrideFunction function to override a specified function.

You can use OverrideFunction to change a default callout point at the pageset level instead of the application level. Override functions are automatically cleared when a Pageset UI Registry file (\pg\pagesetID_i.htm) loads.

Syntax

OverrideFunction(fnName,fnPointer)

Argument
Description

fnName

Name of the standard function you want to override.

fnPointer

Pointer to the custom function to be called in place of the original function.

Example

The following sample code shows how to use OverrideFunction in a Pageset UI Registry file (\pg\pagesetID_i.htm) to call the custom function MY_COP_BeforeConfiguration in place of the standard function COP_BeforeConfiguration.

function MY_COP_BeforeConfiguration(privateArg1,
privateArg2,instanceName,configData,featureData,
privateArg3,inputState, privateArg4, privateArg5)

{alert("my_function");

}

ISS.OverrideFunction("COP_BeforeConfiguration",
MY_COP_BeforeConfiguration);

Siebel Advisor API Reference Copyright © 2013, Oracle and/or its affiliates. All rights reserved. Legal Notices.