GotoView without loosing Thread Bar
Hello Experts,
It is a known issue that when we use GotoView in script the thread bar is lost (sample script below).
var ParBO:BusObject = TheApplication().GetBusObject("HLS Case"); var ParBC:BusComp = ParBO.GetBusComp("HLS Case"); if(entId != "" && entId != null) { with(ParBC) { ClearToQuery(); SetViewMode(AllView); SetSearchSpec("Id", entId); ExecuteQuery(ForwardBackward); if (FirstRecord()) { TheApplication().GotoView("ICM Case All Attachments View", ParBO); return (CancelOperation); } } }
However, we would like to use the following approach to perform GotoView in script without loosing the thread bar.
var SWEView:chars = "ICM Case All Attachments View"; var SWEKeepContext:chars = 1; this.InvokeMethod("GotoView", SWEView, SWEKeepContext);
I believe the above will invoke the SWECommand "GotoView" directly. Can anyone tell me if there are any impacts with this approach?