From Bright Pattern Documentation
Jump to: navigation, search
 
(Updated via BpDeleteTranslateTags script)
 
(One intermediate revision by one other user not shown)
Line 1: Line 1:
<translate>= Set Reporting Custom Field=
+
= Set Reporting Custom Field=
This function allows [[contact-center-administrator-guide/CustomReportingFields|custom reporting fields]] to be entered during an agent’s interaction with a customer; the method works like the [[scenario-builder-reference-guide/SetCustomReportingField|Set Custom Reporting Field]] scenario block.
+
Allows [[contact-center-administrator-guide/CustomReportingFields|custom reporting fields]] to be entered during an agent’s interaction with a customer; the method works like the [[scenario-builder-reference-guide/SetCustomReportingField|Set Custom Reporting Field]] scenario block.
  
 +
== Request ==
 +
=== Syntax ===
 +
setReportingCustomField(name, value);''
  
== Syntax ==
+
=== Parameters ===
''setReportingCustomField(name, value);''
+
{|border="1" style="border-collapse:collapse" cellpadding="5"
 
+
| '''Parameter'''
== Parameters ==
+
| '''Type'''
''name'' – String containing the name of the custom reporting field (e.g., ''custom1'', ''custom2'', etc.)
+
| '''Optional/Required'''
 
+
| '''Description'''
''value'' String containing the resulting value of the custom reporting field
+
| '''Example'''
 
+
|-
 
+
| name
 
+
| String
 
+
| Required
<center>[[desktop-javascript-api-specification/PostVariable|< Previous]]  | [[desktop-javascript-api-specification/CompleteInteraction|Next >]]</center>
+
| The name of the custom reporting field
</translate>
+
| "custom1"
 +
|-
 +
| value
 +
| String
 +
| Required
 +
| The resulting value of the custom reporting field
 +
| "$(variable_in_field)"
 +
|}

Latest revision as of 04:31, 29 May 2024

• 5.19 • 5.2 • 5.3 • 5.8

Set Reporting Custom Field

Allows custom reporting fields to be entered during an agent’s interaction with a customer; the method works like the Set Custom Reporting Field scenario block.

Request

Syntax

setReportingCustomField(name, value);

Parameters

Parameter Type Optional/Required Description Example
name String Required The name of the custom reporting field "custom1"
value String Required The resulting value of the custom reporting field "$(variable_in_field)"
< Previous | Next >