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.
Approach:
1. 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.
2. 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());
Example
BusComp_WriteRecord()
{
Code Goes Here
//TheApplication().InvokeMethod(“RefreshBusComp”); --Commented
TheApplication().GetService("FINS Teller UI Navigation").InvokeMethod ("RefreshCurrentApplet", TheApplication(). NewPropertySet(), TheApplication().NewPropertySet());
}
Note:You just need to place the above syntax instead of TheApplication().InvokeMethod(“RefreshBusComp”). This method is supported from Siebel 7.5 onwards