"For third-party domains, specify an absolute URL to interaction.js or opencti_min.js to use the toolkit. If you can't determine the org's instance, you can access the toolkit library at the default instance. Contact Salesforce for the default instance’s URL."
https://developer.salesforce.com/docs/atlas.en-us.api_cti.meta/api_cti/sforce_api_cti_connecting.htm
답변 5개
I believe that would work if the CTI was running in/under salesforce web domain. We are running as a third party i.e. not under the salesforce domain (hosted elsewhere) so need the absolute URL to the JavaScript files/api’s to access them. This is from salesforce documentation on it.
https://developer.salesforce.com/docs/atlas.en-us.api_cti.meta/api_cti/sforce_api_cti_connecting.htmFor a Third-Party Domain
For third-party domains, specify an absolute URL to interaction.js or opencti_min.js to use the toolkit. If you can't determine the org's instance, you can access the toolkit library at the default instance. Contact Salesforce for the default instance’s URL.