From Bright Pattern Documentation
Jump to: navigation, search
 
 
Line 1: Line 1:
 
<translate>= Set Reporting Custom Field=
 
<translate>= 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'''
 +
| '''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)"
 +
|}
  
== Parameters ==
 
''name'' – String containing the name of the custom reporting field (e.g., ''custom1'', ''custom2'', etc.)
 
  
''value'' – String containing the resulting value of the custom reporting field
 
  
  
  
 
<center>[[desktop-javascript-api-specification/PostVariable|< Previous]]  |  [[desktop-javascript-api-specification/CompleteInteraction|Next >]]</center>
 
 
</translate>
 
</translate>

Latest revision as of 23:38, 9 September 2019

• 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 >