Wednesday 24 April 2019

Refreshing an Applet in Siebel : FINS Teller to the Rescue

Hello All,

This is a very basic requirement where in we need to refresh the applet once some changes has been done to BC field or a new record has been added.

There are various approaches to this

1. Execute a blank query after doing you operation 

2. Execute RefreshBuscomp method of BC , 

this.BusComp().InvokeMethod("RefreshBuscomp");

3. My Favourite, FINS Teller UI Navigation, as this is vanilla BS and maintains the context of the selected record.

Code,

TheApplication().GetService("FINS Teller UI Navigation").InvokeMethod ("RefreshCurrentApplet", TheApplication(). NewPropertySet(), TheApplication().NewPropertySet());

or you can invoke the BS in the below syntax including the parameter "RefreshAll"

 var svc = TheApplication().GetService("FINS Teller UI Navigation");
 var psIn =  TheApplication(). NewPropertySet();
 var psOut =  TheApplication(). NewPropertySet();
 psIn.SetProperty("RefreshAll","Y");
 svc.InvokeMethod ("RefreshCurrentApplet", psIn, psOut) 



No comments:

Post a Comment

Siebel GoTo View - Handling Realtime cases

 Hello All,  We all must have used GoTo view functionality of siebel to navigate to a particular view from current view. What if the require...