BusComp_PreGetFieldValue Event
If a user accesses a business component field, then Siebel CRM calls the BusComp_PreGetFieldValue event. This method returns the field name and field value that exists before Siebel CRM displays the field. It also returns ContinueOperation or CancelOperation. For more information, see Caution About Using the Cancel Operation Event Handler.
Format
BusComp_PreGetFieldValue(FieldName, FieldValue)
The following table describes the arguments for the BusComp_PreGetFieldValue event.
Argument | Description |
---|---|
FieldName |
String that contains the name of the field that the user accessed. |
FieldValue |
String that contains the value of the field that the user accessed. |
Usage
Siebel CRM calls the BusComp_PreGetFieldValue event in the following situations:
At least one time for each user interface element that displays the value for a business component field
Every time it updates the Siebel client
As a result of other internal uses
Improving Performance when Calling the BusComp_PreGetFieldValue Method
Siebel CRM runs any script that is attached to this event very frequently. It even calls empty scripts. These calls might cause a Siebel application appear to be unresponsive.
To improve performance when calling the BusComp_PreGetFieldValue method
Remove scripts from the BusComp_PreInvokeMethod event that you do not require:
In Siebel Tools, open a script you do not require.
Delete the entire contents of the script, including the following content:
In Siebel VB, delete the Function statement and the End Function statement.
In Siebel eScript, delete the function () statement and the {} function statement.
Repeat these steps for all other scripts you do not require.
Used With
Server Script