GetFieldValue In Siebel Browser Script Returning Different Value In HI Than OpenUI. (Doc ID 2089604.1)

Last updated on JUNE 07, 2017

Applies to:

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

Symptoms

It is documented that GetFieldValue will return one of the following values:
A string that contains the value of a field from the current record of a business component.
An empty string if the field is empty.
An error message if the field is inactive. To avoid this situation, activate the field before you use the GetFieldValue method. For more information, see ActivateField Method for a Business Component.

It is expected that one of these should be returned when using GetFieldValue in Siebel Browser Script.

In HI, if the GetFieldValue is for a field that is not on the Applet, the result is that an empty string is returned. In OUI, the result for the same code is a false. False is not a value that is documented to be returned.

Steps

-------

1) Added the following script to the Service Request Detail Applet Applet_ChangeRecord event:

2) Compiled in such a way so that the Browser Scripts were deployed.
3) In Open UI, the test results in AATest = false in the alert popup.
4) In HI, the test results in AATest = in the alert popup.

Changes

 

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