support:clickToDial

A component that renders a valid phone number as click-to-dial enabled for Open CTI for Salesforce Classic or Salesforce CRM Call Center. This field respects any existing click-to-dial commands for computer-telephony integrations (CTI) with Salesforce.

Note:

  • If you create a Visualforce page with a custom console component, you must set the showHeader attribute to true. If this attribute is set to false, click-to-dial is disabled.
  • This component works with Open CTI for Lightning Experience.
  • This component doesn’t support Open CTI Phone iFrames.
  • This component works with the enableClickToDial, disableClickToDial, and onClickToDial Open CTI methods.
  • This component doesn’t work with embedded Visualforce pages within standard page layouts in Salesforce Classic.

Example 

This example displays the click to dial component.

1<apex:page standardController="Account" showHeader="true">
2                <support:clickToDial
3                    number="415-555-1234"
4                    entityId="001XB000000HFUM"
5                    params="myparam1,myparam2"
6                />
7            </apex:page>

Attributes 

Attribute NameAttribute TypeDescriptionRequired?API VersionAccess
entityIdStringThe entity ID of the record from which to invoke click-to-dial. 28.0
idStringAn identifier that allows the component to be referenced by other components in the page. 14.0global
numberStringThe phone number that invokes click-to-dial functionality.Yes28.0
paramsStringOptional parameters related to when click-to-dial is invoked, such as any case or account parameters. 28.0
renderedBooleanA Boolean value that specifies whether the component is rendered on the page. If not specified, this value defaults to true. 14.0global

See Also