Loading

Enhanced Domains and Open CTI with Visualforce (Winter ‘23)

Data pubblicazione: Feb 16, 2023
Descrizione

Important: This article shows you how to disable enhanced domains for Open CTI with Visualforce on sandbox and non-production orgs. Effective Winter '24, enhanced domains must be enabled on all sandbox and non-production orgs. If enhanced domains is disabled in your sandbox and non-production orgs, see the Enhanced Domains and Open CTI with Visualforce (Spring ‘23) article for steps on how to enable enhanced domains before Winter '24.

Salesforce is introducing enhanced domains in the Winter ‘23 release.
This change impacts sandbox orgs that have the Open CTI feature configured through a Visualforce page.

Enhanced domains are the latest version of My Domain that meets the latest browser requirements. With enhanced domains, all URLs across your org contain your company-specific My Domain name, including URLs for your Experience Cloud sites, Salesforce Sites, Visualforce pages, and content files. With no instance names, enhanced My Domain URLs are easier for users to remember and remain stabilized when your org is moved to another Salesforce instance. Enhanced domains meet the latest browser requirements and are the future standard.

See this article for more information about why we’re implementing enhanced domains, and how this change impacts the URLs in your Salesforce org: https://help.salesforce.com/s/articleView?id=sf.domain_name_enhanced.htm&type=5

When enabled in the Winter ‘23 release, enhanced domains will break the Open CTI feature if it was configured through a Visualforce page.

This change impacts sandbox orgs; production orgs are not affected. For example, when enhanced domains are enabled, your production My Domain login URL format MyDomainName.my.salesforce.com won’t change unless you also change your My Domain name. However, when enhanced domains are enabled, your sandbox org will include the word “sandbox” in the org’s My Domain login URL: MyDomainName--SandboxName.sandbox.my.salesforce.com.

Risoluzione

If you have Open CTI configured through a Visualforce page, postpone the enablement of enhanced domains in your sandbox orgs until the Spring ‘23 release. If you don’t want to postpone the enablement because you need enhanced domains sooner than the Spring ‘23 release, you can manually update your call centers with the new Visualforce URL.

Note: In the Spring ‘23 release, enhanced domains will be enforced for all orgs, including production orgs.

Postpone the Enablement of Enhanced Domains To Spring ‘23

Follow these steps to postpone enhanced domains. Taken from ( https://help.salesforce.com/s/articleView?id=sf.domain_name_enhanced_considerations.htm&type=5 ) .

 

To postpone the enablement of enhanced domains:

  1. From Setup, in the Quick Find box, enter My Domain, and then select My Domain.
  2. In the Routing section, click Edit.
    In a sandbox or non-production org without enhanced domains enabled, the Postpone the enforcement of enhanced domains until Spring ’23 option is available in the Routing section. Non-production orgs include demo orgs, Developer Edition orgs, free orgs, patch orgs, Trailhead Playgrounds, and trial orgs.

To postpone the enforcement of the Enable Enhanced Domains release update for this org, select Postpone the enforcement of enhanced domains until Spring ’23 and save your changes.
This setting is enabled by default in sandboxes whose source org has the Use enhanced domains by default in new and refreshed sandboxes setting disabled. To enable enhanced domains with the Winter ’23 release, deselect this option.


Screen Shot 2022-08-21 at 4.57.15 PM.png

Manually Update Your Call Center With The New Visualforce URL

If you don’t want to postpone the enablement of enhanced domains, you can manually update your call center with the new Visualforce URL for Open CTI.

  1. From Setup, in the Quick Find box, enter Visualforce Pages, and then select Visualforce Pages.
  2. Click Edit next to the Visualforce page where your Open CTI implementation is hosted.
  3. Click Preview and copy the URL of the Visualforce page. The URL should contain the updated domain name to reflect the enhanced domain change.
  4. From Setup, in the Quick Find box, enter Call Centers, and then select Call Centers.
  5. Click Edit next to the call center that’s integrated with Open CTI. 
  6. Update the adapterURL field to the Visualforce Page URL you just copied.
  7. Reload your app where the Open CTI component is added.
  8. If you had used a relative URL for your adapter URL value and, then update it with an absolute URL of the visualforce page (with the updated domain) so that the it fixes Open CTI.
Numero articolo Knowledge

000391872

 
Caricamento
Salesforce Help | Article