HTML Custom Attributes
The CTI application is responsible for collecting particular UI event information from UI controls in the Oracle CRM On Demand browser window, and performing the associated CTI action. Some examples of UI events and actions are as follows:
Clicking the Listen to Vmail button plays back the voicemail to the user through the CTI application.
Clicking the Origin phone number dials that phone number.
Oracle CRM On Demand provides attributes in the HTML elements for its UI controls that indicate the type of CTI method to invoke when the control is clicked. Additional attributes of the element can also provide name-value pairs that provide relevant data.
HTML custom attributes are fully supported in HTML5 and valid custom
attributes are prefixed with the data- characters.
(In versions of HTML before HTML5, custom attributes were an undocumented
feature.)
Custom attributes are supported for the following browsers:
Internet Explorer Version 6.0 and later
Mozilla Firefox Version 2.0 and later
Google Chrome (all versions)
The following table shows the custom attributes that are available and the data that they provide to the CTI application.
Attribute |
CTI Data |
Comments |
---|---|---|
data-cti-action |
CTI operation to perform |
Attribute values and the associated CTI actions are as follows:
|
data-cti-interactionId |
CTI interaction Id |
CTI assigned unique identifier. |
data-cti-phone-number |
CTI dialed number identification service (DNIS) number to dial |
Oracle CRM On Demand deformatted phone number (that is, purely digits) to dial |
data-cti-phone-countrycode |
CTI DNIS country code |
Oracle CRM On Demand phone number country code. |
data-cti-crmod-recordtype |
Oracle CRM On Demand record type |
Used for Click-to-Dial. CTI sends this back to Oracle CRM On Demand so that the activity is associated with the correct record type. |
data-cti-crmod-recordid |
Oracle CRM On Demand record ID |
Used for Click-to-Dial. CTI sends this back to Oracle CRM On Demand so that the activity is associated with the correct record. |