You need to sign in to do that
Don't have an account?
Shraddha 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"/>
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"/>
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.
- https://developer.salesforce.com/docs/atlas.en-us.pages.meta/pages/pages_compref_support_clickToDial.htm
Hope this helps.Kindly mark this as solved if the information was helpful.
Thanks,
Nagendra
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.?