Siebel Communications Server Administration Guide > Advanced Communications Configuration > Using Macro Expansion for Character Fields >

Macros for Parameter Values


Several macros (sometimes referred to as special fields) can be used within values for applicable event or command parameters, configuration parameters, or, in limited cases, driver parameters.

NOTE:  Unless otherwise stated, the macros described in this section cannot be used within values for communications driver parameters.

When the parameter value is read into memory (such as when the event or command is invoked), particular values are substituted for the macro name. These macros are not specific to any particular communications system, such as a specific CTI middleware product.

Some macros require work item attributes to be provided. Notations for specifying attributes are shown in examples. For details, see Work Item Attributes.

Event attributes are also available for use in parameter values that support macro expansion. For example, the event attribute "SiebelChannelType" represents the channel type of the current work item. For more information, see Driver Event Attributes.

The macros, which have names that start with the symbol @ or $, are listed below. The macros that start with @ are static variables with values that are defined at runtime (values for some of these macros may change during a user session). The macros that start with $ are actually functions that return a value.

@Phone Macro Example

The example command and associated command data shown in Table 26 and Table 27 use the @Phone macro, and can be used to dial any phone field on any business component.

Table 26.  Command: MakeCallToCurrentPhone
Parameter Name
Parameter Value
Description
Make Call to "{@Phone}"
DeviceCommand
MakeCall
Hidden
TRUE

Table 27.  Command Data: MakeCallToCurrentPhone
Parameter Name
Parameter Value
AttachContext
TRUE
Param.CallNotifyText
Call from {@UserName}...
Param.PhoneNumber
{@Phone:PhoneTypeLookup}
RequiredField.@Phone
?*


 Siebel Communications Server Administration Guide 
 Published: 23 June 2003