Siebel Chat Guide > Methods for Customizing Siebel Chat Process Flow and Interface Functionality > Methods for Customizing Siebel Chat Process Flow and Interface Functionality >

UpdateWithChatData


This method is used to update a field in the Chat Data map with the value in the Oracle Contact On Demand Chat Data field. Table 48 shows the input arguments for UpdateWithChatData.

Table 48. UpdateWithChatData Method: Input Arguments
Input Argument
Description

InteractionId (Optional)

The value in this argument is the interaction ID that you want to update if IsSingleChat is set to True. The value in this argument is ignored if IsSingleChat is set to False.

For new and transferred chats, IsSingleChat is always set to True and always provides the value for InteractionId that is passed from Oracle Contact On Demand data.

IsSingleChat (Optional)

If set to True, then it indicates to update the value provided for InteractionId. False indicates to update the value for all chats. For new and transferred chats, IsSingleChat is always set to True.

UpdateField

The field that you want to update in the Chat Data map.

Value Field

The Oracle Contact On Demand business component field that you want to get the value from.

Table 49 shows the output arguments for UpdateWithChatData.
Table 49. UpdateWithChatData Method: Output Argument
Input Argument
Description

HasSetForAll (Optional)

Indicates whether or not to set (or update) the value for all chats. If set to True, then all chats get the update value.

Example

If you want to update ChatDisplayName in the Chat Data map with the Oracle Contact On Demand firstname field for all chats, then the input is as follows:

InteractionId =

IsSingleChat = FALSE

UpdateField = ChatDisplayName   // the field of ChatDisplayName in Chat Data map

ValueField = firstname          // the field of firstname in Chat Data map (CCA Data)

Siebel Chat Guide Copyright © 2015, Oracle and/or its affiliates. All rights reserved. Legal Notices.