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 (third-party chat) Chat Data field. Table 42 shows the input arguments for UpdateWithChatData.

Table 42. 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.

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 business component field that you want to get the value from.

Table 43 shows the output arguments for UpdateWithChatData.

Table 43. 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 (third-party chat) 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
                                       (third--party chat data)

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