New Record Doesn't Work On Applet Load

(Doc ID 2111856.1)

Last updated on MARCH 02, 2017

Applies to:

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

Symptoms

NewRecord(NewAfter) script is not working in WebApplet_Load even when used in either High-Interactivity or Open-UI modes.
Here, user gets SBL-DAT-00498 error that means there are some Mandatory Fields that have to be populated. If those mandatory fields are set to Force Active=False and Immediate Post Changes=False, then it works as expected - Applet is opened in New Record mode.

However, the same code works well in Standard Interactivity mode, without having to set either Force Active or Immediate Post Changes to False.

This setting of Force Active=False and Immediate Post Changes=False, was seen in customer's environment only. In Vanilla, even with these properties set to False, SBL-DAT-00498 error seen in HI and Open-UI.

Repro Steps:

1. Using Siebel Tools, navigate to Contact Form Applet.
2. Add this code to WebApplet_Load ():
function WebApplet_Load ()
{
    try
    {
        this.BusComp().NewRecord(NewBefore);
        return(ContinueOperation);
    }
    catch(e)
    {
    }
}
3. Compile the changes and launch Siebel Financial Services Application in HI or Open-UI mode.
4. Navigate to Contact --> All Contacts.
5. You will see the error:
        <Field Name> is a required field. Please enter a value for the field.(SBL-DAT-00498)
6. However, with the same changes, if you were to perform the steps using
Standard Interactivity mode, the Contact Form Applet is shown in New Record mode.

 

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