Refresh Siebel Applet not Buscomp - "RefreshBusComp" Alternative
Need:
User wants to update the data being displayed on UI after performing some validation and updates via a script on the underlying BC.
Works on: Siebel 7.5 or later
User wants to update the data being displayed on UI after performing some validation and updates via a script on the underlying BC.
Solution:
A
vanilla Business Service “FINS Teller UI Navigation” can be used to
refresh an Applet after updating the underlying data, without breaking the
current query.
- One of the most commonly used approach is to invoke the "RefreshRecord" method on the Business Component. However, this does not promise to work on all Business Components.
- Another alternative is to call the BS method "RefreshCurrentApplet" on the BS "FINS Teller UI Navigation".
Syntax:
TheApplication().GetService("FINS
Teller UI Navigation").InvokeMethod ("RefreshCurrentApplet",
TheApplication(). NewPropertySet(), TheApplication().NewPropertySet());
Eg:
BusComp_WriteRecord()
{
Code
Goes Here
//TheApplication().InvokeMethod(“RefreshBusComp”);
--Commented
TheApplication().GetService("FINS
Teller UI Navigation").InvokeMethod ("RefreshCurrentApplet",
TheApplication(). NewPropertySet(), TheApplication().NewPropertySet());
}
Comments