Open CTI Developer's Guide - Salesforce.com
Open CTI Developer's Guide - Salesforce.com
Open CTI Developer's Guide - Salesforce.com
- No tags were found...
Create successful ePaper yourself
Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.
Methods for Computer-Telephony Integration (<strong>CTI</strong>)onClickToDial()NameTypeDescription"screenPopSettings" : {"NoMatch" : {"screenPopType" : "PopToEntity","screenPopData" : "Contact"},"SingleMatch" : {"screenPopType" : "PopToVisualforce","screenPopData" : "Visualforce_Page_Name"},"MultipleMatches" : {"screenPopType" : "PopToSearch"}}},"Outbound" : {"callRelatedFields" : ["DNIS"],"objects" : {"Account" : [ {"displayName" : "Account Name","apiName" : "Name"}]},"screenPopSettings" : {}}}errorstring orundefinedIf the API call was successful, this variable is undefined. If the API call failed,this variable returns an error message.onClickToDial()UsageRegisters a function to call when a user clicks an enabled phone number.Syntaxsforce.interaction.cti.onClickToDial( listener:function )ArgumentsNamelistenerTypefunctionDescriptionJavaScript method called when the user clicks a phone number.Sample Code–JavaScriptvar listener = function (response) {38