Siebel Open UI, Tools, Scripting and EAI (MOSC)

MOSC Banner

GotoView without loosing Thread Bar

edited Sep 19, 2017 5:03AM in Siebel Open UI, Tools, Scripting and EAI (MOSC) 1 commentAnswered

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?

Howdy, Stranger!

Log In

To view full details, sign in to My Oracle Support Community.

Register

Don't have a My Oracle Support Community account? Click here to get started.

Category Leaderboard

Top contributors this month

New to My Oracle Support Community? Visit our Welcome Center

MOSC Help Center