Siebel eScript - BusComp SetNamedSearch Value Is Not Getting Retained On Performing Browser Back And Forward Navigation
(Doc ID 3050602.1)
Last updated on OCTOBER 04, 2024
Applies to:
Siebel CRM - Version 22.12 and laterInformation in this document applies to any platform.
Symptoms
After setting "Named Search Specification" for a Business Component, The named search spec is not retained when navigating across views using browser forward and backward navigations.
The issue can be reproduced at will with the following steps:
1. Add below code in "SIS Account List Applet" applet in Applet Load event to set Named Search specification:
function WebApplet_Load ()
{
if(TheApplication().GetProfileAttr("TestNamedSpec") == "Y"){
this.BusComp().SetNamedSearch("TestNamedSpec","[Account Status]=LookupValue(\"ACCOUNT_STATUS\",\"Active\")");
this.BusComp().ExecuteQuery(ForwardBackward);
}
}
}
2. From application, Navigate to Account List view and drilldown on Last Name which navigates to "Activity Detail Contacts view". By going through the logs, it is possible to notice that the Account BC has the named search spec "TestNamedSpec" retained properly.
3. Now, when trying to use browser back and forward buttons, The resultant records in the "Activity Detail Contacts view" are refreshed as the "Named Search Specification" "TestNamedSpec" is not retained anymore.
Expectation is that the NamedSearchSpec should be retained irrespective of browser navigation as long as the BC instance is active.
Changes
Add custom code to set named search spfecification.
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 |