function readOnly(count){ }
Starting November 20, the site will be set to read-only. On December 4, 2023,
forum discussions will move to the Trailblazer Community.
+ Start a Discussion
Shraddha M 10Shraddha M 10 

How do i enable Click to Dial on my custom VF page?

Click to dial icon appears but it is greyed out(disabled)
Please find below my change
<apex:outputText label="Payer Phone"> <support:clickToDial number="{!medPolicyObj.LASH_Payer_Phone__c}" entityId="{!id}"/></apex:outputText> 

I have also included the below versions and tried but this doesnt work 
<apex:includeScript value="/support/console/27.0/integration.js"/> <apex:includeScript value="/support/console/24.0/integration.js"/> <apex:includeScript value="/support/console/35.0/integration.js"/> <apex:includeScript value="/support/console/28.0/integration.js"/>
NagendraNagendra (Salesforce Developers) 
Hi Shraddha,

Have you checked the ClickToDial settings to see if it has to allow it to be run in VF pages? This is the first place to check.

The second way is to find an original CTD button and see how it is coded to run.

Also, please double check if your development mode is turned off so that your click to dial will be activated.

For more information please check with below link which will help you further. Hope this helps.

Kindly mark this as solved if the information was helpful.

Thanks,
Nagendra
Shraddha M 10Shraddha M 10
Hi,
I did a test and found that this works for my vf page alone but this doesnt work when my Vf page is embedded in the page layout.
Can anyone please help here.?