My Oracle Support Banner

Control State Manipulation FOCUS Via The Plug-in Wrapper In Open UI Require The SetTimeout Function (Doc ID 2798870.1)

Last updated on AUGUST 12, 2021

Applies to:

Siebel CRM - Version 21.4 and later
Information in this document applies to any platform.

Symptoms

The setTimeout function is required for SetState "FOCUS" to work on page load.

The issue can be reproduced at will with the following steps:

1. Create a custom PR to use SetState "FOCUS" to set a field in focus

2. Go to Administration -Application - Files, create below record:
siebel/custom/ccountFormAppletPR.js

3. Go to Administration -Application - Manifest Admin, create records to associate the above file to SIS Account Entry Applet as Physical Renderer:

Usage Type: Physical Renderer
Type: Applet
Name: SIS Account Entry Applet

In the Files Applet, create a record with the following:

Name: siebel/custom/ccountFormAppletPR.js
 
4. Log out and log back into the application

5. Navigate to the Accounts screen > SIS Account Entry Applet

6. Check the MainPhoneNumber is not in focused

Changes

Updating the scripts to replace direct jQuery calls on controls to use the recommended approach as described in "Configuring Siebel Open UI" Chapter 12, where it directs developers to use SetState to modify control's visibility, enable/disable, focus, and edit/read-only properties.

Cause

To view full details, sign in with your My Oracle Support account.

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


In this Document
Symptoms
Changes
Cause
Solution
References


My Oracle Support provides customers with access to over a million knowledge articles and a vibrant support community of peers and Oracle experts.