Jump to: navigation, search
(Update with the copy of version: 8.5.0)
(Update with the copy of version: draft)
Line 1: Line 1:
 
= Configuration =
 
= Configuration =
== Description ==
+
{{NoteFormat|Documentation for this software has moved to a new home. Please update links and bookmarks to content hosted at https://all.docs.genesys.com/WID/Current/SDK/CallUs-combined#Configuration.}}
CallUs uses the configuration property '_genesys.widgets.callus'. You must specify all numbers and labels that appear in the CallUs UI.
 
== Example ==
 
<pre>
 
window._genesys.widgets.callus = callus: {
 
 
 
contacts: [
 
 
 
{
 
displayName: 'Payments',
 
i18n: 'Number001',
 
number: '1 202 555 0162'
 
},
 
{
 
displayName: 'Local',
 
i18n: 'Number002',
 
number: '202 555 0134'
 
},
 
{
 
displayName: 'International',
 
i18n: 'Number003',
 
number: '0647 555 0131'
 
}
 
],
 
 
 
hours: [
 
 
 
'8am - 8pm Mon - Fri',
 
'10am - 6pm Sat - Sun'
 
]
 
};
 
</pre>
 
== Options ==
 
{|
 
|-
 
! Name
 
! Type
 
! Description
 
! Default
 
! Required
 
|-
 
| contacts
 
| array
 
| An array of objects that represent phone numbers and their labels. The first number in this list will display as the larger, main number. Phone labels can be set directly using the 'displayName' property or you can use String Names from your localization file by setting the String Name in the 'i18n' property. 'i18n' overrides 'displayName'.
 
Ex:  
 
<pre>
 
{
 
"displayName": "Payments",
 
"i18n": "Number001",
 
"number": "1 202 555 0162"
 
}
 
</pre>
 
| []
 
| true
 
|-
 
| hours
 
| array
 
| Array of strings to show stacked in the business hours section. Strings here are freeform. See screenshots for ideas.
 
| []
 
|
 
|-
 
|}
 
  
 
[[Category:V:PSAAS:Public]]
 
[[Category:V:PSAAS:Public]]

Revision as of 21:52, October 17, 2019

Configuration

Important
Documentation for this software has moved to a new home. Please update links and bookmarks to content hosted at https://all.docs.genesys.com/WID/Current/SDK/CallUs-combined#Configuration.
Comments or questions about this documentation? Contact us for support!