Configuring Event-based Commands

The Data Transfer Utilities business service allows you to configure toolbar and menu commands based on Siebel Event Manager. For an example of how to use DTU to define a toolbar button, see About Auto Application.

To configure event-based commands

Define a command in Siebel Tools.

Business Service ="FINS Data Transfer Utilities". Method = "FAFireEventxxx". The method name can be anything that begins with "FAFireEvent". When the command is invoked, it, in turn, invokes method EventMethodxxx on the primary buscomp of the active view, where xxx is of the same value as in FAFireEventxxx.

Define a toolbar.

Define a toolbar item for the command you defined.

In the Siebel client, define a run-time event that will receive EventMethodxxx.

Navigate to the Administration - Runtime Events screen > Events view, and create a Buscomp run-time event as listed in the following table. See Siebel Personalization Administration Guide for more information on run-time events.

Field

Entry

Sequence

-1

Object Type

BusComp

Object Name

The name of the business component in which the event is invoked. For a toolbar command, this is the primary business component in the view in which the command is invoked.

Event

InvokeMethod

Sub Event

EventMethodxxx. Choose the same value for xxx that you chose for FAFireEvent.

Action Set Name

The action set that invokes Siebel Workflow Manager or a business service.

Alternatively, you can define a workflow that has a Start step that contains run-time events. When the workflow is activated, both the Action Sets and run-time events are created automatically for you. See Siebel Business Process Designer Administration Guide.

Define a user property in which Name = MethodName GotoView, and Value = The name of a view. MethodName is the name of the command method.

When you define this user property, this method is enabled only for users who have visibility to the view defined in the value. If the method does not contain a GotoView, visibility is not imposed on the method.