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

MOSC Banner

How to inactive/gray out (not suppress) Print, Print Preview, Save List, Apply List, Show Sort Icons

edited Sep 30, 2016 5:00AM in Siebel Open UI, Tools, Scripting and EAI (MOSC) 2 commentsAnswered

How to inactive/gray out (not suppress) Print, Print Preview, Save List, Apply List, Show Sort Icons, and Hide Sort Icons menu items in Siebel?

The only way I can make inactive using “PrintListService” Business Service.
With the following script in PreCanInvokeMethod event of “PrintListService” Business Service and could disable Print / Print Preview options from Application Menu and Applet Menus for a certain view:


function Service_PreCanInvokeMethod (MethodName, &CanInvoke)
{

var sActiveViewName = TheApplication().ActiveViewName();
if (sActiveViewName == "All Accounts across Organizations")
{

if ((MethodName == 'QuickPrintApplicationMenu') || (MethodName =='QuickPrintCustomAppletMenu') || (MethodName == 'QuickPrintCustomApplicationMenu') || (MethodName == 'QuickPrintPreviewApplicationMenu') || (MethodName == 'QuickPrintPreviewCustomAppletMenu'))
{
CanInvoke = false;
return (CancelOperation);
}

}
return (ContinueOperation);
}

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