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

MOSC Banner

ActiveViewName method not fetching ViewName in buscomp PreQuery event

edited Jun 11, 2012 12:01AM in Siebel Open UI, Tools, Scripting and EAI (MOSC) 2 commentsAnswered
Hi All,

I have written the below smal piece of code in the Action BC PreQuery event,

function BusComp_PreQuery ()
{
 var sView = TheApplication().ActiveViewName();
 if(sView == "All Inbound Item List View")
    this.SetSortSpec("Updated(DESCENDING)");
 return (ContinueOperation);
}

This code is not working i.e. ActiveViewName() is returning null when the view is invoked from SiteMap.

SiteMap -> Communications -> All Communications

This script works fine when the view is loaded and then I do Query and Go in the List applet.

Can someone let me know the whether ActiveViewName() method returns view name when view is instantiated from SiteMap.

Regards,

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