Performance Issue When PM Has GetProfileAttr In SelectionChange/FieldChange Event (Doc ID 2166584.1)

Last updated on JUNE 27, 2017

Applies to:

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

Symptoms

On :  8.1.1.14.7 [IP2014] version, Siebel VB / eScript / COM

ACTUAL BEHAVIOR  
---------------
When custom PresentationModel code is added for a form applet and it contains GetProfileAttr statements in the selectionchange/fieldchange events of the code, when we click query/navigate to next record in form applet or list applet above for applet, it is taking much time to pop up the query applet and give results after clicking GO

EXPECTED BEHAVIOR
-----------------------
When custom PresentationModel code is added for a form applet and it contains GetProfileAttr statements in the selectionchange/fieldchange events of the code, when we click query/navigate to next record in form applet or list applet above for applet, it should not take much time to pop up the query applet and give results after clicking GO

STEPS
-----------------------
The issue can be reproduced at will with the following steps:
1. Create a custom Presentation Model Code with below sample code

2. register the same against any form applet lets say SIS Account Entry Applet

3. Create & set Few profile attributes attr1,attr2, attr3 in application login event of the runtime events

4. After clear cache open application and go to Accounts view, so that accounts list applet will be on top and below is account form applet

5. After navigating to the view click f12 and check for the console.log statements printed on the console property stated as in the PM code

6. Now click query on the form applet, busy cursors will appear and it takes 10 - 15 seconds to open the query applet

7. Now click go the records will appear and the busy cursor remains for 5-7 seconds

8. If we click query in the above list applet we can observe the same behaviour

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