Feedback

  • Contents
 

IS_Event_PreviewDataPop

Definition

This event is called by Scripter in Preview dialing mode. It is raised by Scripter when a preview data pop is presented to the agent. This event occurs before the IS_Event_NewPreviewCall. IS_Event_PreviewDataPop provides notification that the client can display a customer record, before the call is placed. This allows the agent to review the client record before pushing a button to initiate the call. Its prototype is IS_Event_PreviewDataPop(Names, Values). If IS_EventPreviewDataPop is not defined, IS_Event_DataPop will be called by default.

This event presents a JavaScript array of names and values that are associated with the preview call. When running in preview mode, the data is presented to the agent first, then the agent determines whether or not to place the call.

Attributes

Names

A JavaScript array of the Dialer attribute names.

Values

A JavaScript array of the Dialer attribute values


Example 1

<head>
    <script>
        function IS_Event_PreivewDataPop(Names, Values) {
            // do something here
            location.href = "PreviewPop.htm";
        }
    </script>
</head>

Example 2

The example below is a typical waiting for call page, that listens for Preview and Predictive calls. Typically this type of page redirects the agent to another page to display the data that is associated with the call. See Interaction Scripter Attributes for information about retrieving values from call data.

<head>
    <script>
        function IS_Event_PreivewDataPop(Names, Values) {
            // do something here
            location.href = "PreviewPop.htm";
        }
    </script>
</head>