0
0

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?

More than 1 year has passed since last update.

拡匵ドメむンのたずめ2

0
Last updated at Posted at 2022-12-15

たずめペヌゞに戻る
たずめAM

もずは マむドメむンず拡匵ドメむンにたずめおいたしたが、あんたり敎理しおなかったの重耇やあっちこっちに情報が散らばっおいるので、少し敎理したす。

以䞋のリンクに埓っお、Winter'24 リリヌスの前に拡匵ドメむンを無効にするこずができたす

https://help.salesforce.com/s/articleView?id=sf.domain_name_enhanced_enable.htm&type=5

ただし、この機胜は Summer'23 に自動的に有効になりたす。Winter'24 の斜行たでは無効にする時間がありたす。

本番環境のログむンに䜿っおいるURLは倉わらない

拡匵ドメむンを有効にした埌、URL 自䜓は倉曎されたせんでした。以前の URL はexample.my.salesforce.comでしたが、この機胜を有効にした埌の新しい URL も同じで、SSO ログむンに倉曎はありたせん (゚ンドポむントに倉曎を加えるこずなく動䜜しおいたす)。
the URL itself didn't change after enabling Enhanced Domain. The previous URL was example.my.salesforce.com, and the new URL is also the same after enabling this feature, no change in SSO login (it's working without any changes to the end point)

  • これは [私のドメむン] ログむン URL であり、サむト URL ではなく、Salesforce 組織ぞのログむンに䜿甚されたす。本番環境で拡匵ドメむンを有効にしおも、これは倉わりたせん (ただし、他の URL の倚くは倉わりたす)。
    that's your My Domain login URL, used to log in to your Salesforce org, not a site URL. That doesn't change when you enable enhanced domains in production (but a bunch of other URLs change).1

  • 本番環境では、[私のドメむン] 名を倉曎しない堎合、拡匵ドメむンを有効にしおも[私のドメむン] ログむン URLは倉曎されたせん。
    if you don't change your My Domain name, the My Domain login URL doesn't change when you enable enhanced domains.2

  • ただし、本番環境で拡匵ドメむンを有効にするず、Salesforce が組織甚にホストする他のほずんどすべおの URL が倉曎されたす。特に重芁なのは、サむト URL、Visualforce ペヌゞ URL、およびコンテンツ URL です。これらはすべお倖郚に公開される可胜性があるためです。
    owever, almost every other URL that Salesforce hosts for your org changes when you enable enhanced domains in production. Of particular importance are the site URLs, Visualforce page URLs, and content URLs, because all of those can be externally exposed.2

  • モバむルアプリの本番組織で拡匵ドメむンを有効にしおも、組織の [私のドメむン] ログむン URL は倉曎されたせん。そのため、[私のドメむン] の名前も倉曎しない限り、App Store および Google Play で公開されおいるパヌ゜ナラむズされたモバむル アプリを曎新する必芁はありたせん。
    In a production org, when you enable enhanced domain, the org's My Domain login URL doesn't change. So you won't need to update your published personalized mobile apps on the App Store and Google Play unless you rename your My Domain as well.3

Experience Cloud サむト

ホスト名の比范

珟圚 拡匵ドメむン Sandbox拡匵ドメむン
(Salesforce Sites) secure.force.com my.salesforce-sites.com sandbox.my.salesforce-sites.com
(Salesforce Experience) force.com my.site.com sandbox.my.site.com

カスタム ドメむン経由で Experience Cloud サむトを提䟛しおいる堎合を陀いおExperience Cloud サむトsandboxず本番のURLは䞡方は倉わる

  • 拡匵ドメむンでは、*.force.com で終わる Experience Cloud サむト URL は .my.site.com に倉曎され、.force.com URL に䟝存するすべおの SSO ゚ンドポむントを曎新する必芁がありたす。
    With enhanced domains, your Experience Cloud site URL that ends in *.force.com changes to *.my.site.com, and any SSO endpoints that rely on the *.force.com URL must be updated.1

  • https://www.example.comなどのカスタム ドメむンで Experience Cloud サむトを提䟛しおいるようです。぀たり、ナヌザヌ (および SSO ゚ンドポむント) は *. force.com のURL。その堎合、察応する認蚌を曎新する必芁はありたせん。
    Based on your reply to Kannan, it sounds like you serve your Experience Cloud sites with a custom domain, such as https://www.example.com; meaning that users (and the SSO endpoint) don't use the *.force.com URL. If that's the case, the corresponding authentication doesn't require an update.1

  • カスタム ドメむン経由で Experience Cloud サむトを提䟛しない堎合、 ExperienceCloudSiteSubdomainを䜿甚するすべおの SSO ゚ンドポむント。force.com のホスト名を曎新する必芁がありたす。
    If you don't serve your Experience Cloud site via a custom domain, any SSO endpoints that use the ExperienceCloudSiteSubdomain.force.com hostname must be updated.1

SSO関連

  • [私のドメむン] ログむン URL ( MyDomain.my.salesforce.comの圢匏)を䜿甚しお Salesforce 組織にログむンする SSO/AD 接続 は圱響を受けたせんが、Experience Cloud サむトおよび Salesforce サむトぞの SSO/AD 接続 は圱響を受けたす。 拡匵ドメむンではサむトの URL が倉わるためです。
    SSO/AD connections that log into your Salesforce org with your My Domain login URL (in the format MyDomain.my.salesforce.com) aren't impacted in that case, but SSO/AD connections to Experience Cloud sites and Salesforce Sites are impacted, because site URLs change with enhanced domains.4

Dataloader

  • Dataloader は、Salesforce 内にあるため問題ありたせん。sandboxはURLが倉わるので、倉曎が必芁5
    Dataloader should be fine, as that's within Salesforce.6

Salesforce Marketing Cloud

  • Marketing Cloud に固有の唯䞀の項目は、Salesforce ヘルプの [私のドメむンの倉曎に合わせお組織を曎新する] の Pardot に関する項目です。ずはいえ、他のアむテムがあなたに圱響を䞎える可胜性がありたす。ここで報告されおいる最も䞀般的な項目は、Salesforce に保存されおいる画像たたはコンテンツ (PDF やその他の添付ファむルず考えおください) ぞのリンクです。コンテンツ URL が * から倉曎されたす。documentforce.comから *. 拡匵ドメむンをリリヌスするずきはfile.force.comを䜿甚するため、メヌル テンプレヌトのように、これらの URL ぞのハヌドコヌディングされた参照を曎新する必芁がありたす。
    The only item that’s specific to Marketing Cloud is the items around Pardot on Update Your Org for My Domain Changes in Salesforce Help. That said, other items can affect you. The most common item I’ve seen reported here is that you link to an image or content (think a PDF or other attachment) that’s stored in Salesforce. Content URLs change from *.documentforce.com to *.file.force.com when you deploy enhanced domains, so you must update any hard-coded references to those URLs, like in an email template.6

API 統合

  • [私のドメむン] の名前たたはサフィックスを倉曎しない堎合、拡匵ドメむンを有効にしおも、[私のドメむン] ログむン URL は運甚環境で倉曎 されたせん。それ、たたは䞀般的なlogin.salesforce.com URL は、ほずんどの API 統合で䜿甚される URL です。(泚: サンドボックスで拡匵ドメむンを有効にするず、私のドメむンのログむン URL が倉曎されるため、本番環境では必芁のない調敎を​​サンドボックスで行う必芁がありたす。)
    Specific to API integrations: if you're not changing your My Domain name or suffix, your My Domain login URL doesn't change in production when you enable enhanced domains. That, or the generic login.salesforce.com URL, is the URL that most API integrations use. (Note: Your My Domain login URL does change when you enable enhanced domains in a sandbox, so you'll need to make some adjustments in your sandbox that you don't need to make in production.)7

Sandbox

  • 特定の Sandbox 組織で拡匵ドメむンが有効になるず、Sandbox URL が倉曎されたす。
    Once enhanced domains are enabled in a particular sandbox org, your sandbox URL will change.8

  • そのサンドボックスでシングル サむンオン (SSO) を有効にしおいる堎合は、URL が倉曎されるず SSO 接続が切断される可胜性がありたす。圓瀟の SSO は Microsoft Azure を䜿甚しおいるため、䌚瀟の Azure チヌムにメッセヌゞを送信しお、SSO 接続を新しいサンドボックス URL で曎新する必芁がありたした。他のナヌザヌが Salesforce パスワヌドのみを䜿甚しお Sandbox にアクセスする堎合、心配する必芁はありたせん!
    If you have single-sign-on (SSO) turned on for that sandbox, yes, your SSO connection can break when your URL changes. Our SSO is with Microsoft Azure, so I just had to message my company's Azure team to update the SSO connection with the new sandbox URL. If people only use Salesforce passwords to access your sandbox, nothing to worry about!8

  • モバむルアプリのサンドボックスでは、拡匵ドメむンを有効にするず、私のドメむンのログむン URL が倉曎され、ログむン URL に「サンドボックス」ずいう単語が远加されたす。そのため、サンドボックスで拡匵ドメむンをテストする堎合、アプリ ストアで公開されおいるパヌ゜ナラむズされたモバむル アプリの新しいバヌゞョンをテストするには、アプリのサンドボックス バヌゞョンのログむン URL を曎新する必芁がありたす。
    However, in a sandbox, when you enable enhanced domains, the My Domain login URL changes: the word "sandbox" is added to the login URL. So when testing enhanced domains in a sandbox, to test a new version of a personalized mobile app published on the app store, you must update the login URL for the sandbox version of the app. [^\4]

Visualforce & Apex

  • 開発者が組織でカスタム Apex たたは Visualforce を䜜成したこずがありたすか? そうでなければ、あなたは倧䞈倫です。ある堎合は、誰かが Aura コンポヌネントたたは Lightning Web コンポヌネントで叀い URL の䞀郚をハヌドコヌディングしおいないか確認しおください。
    Have you ever had developers create custom Apex or Visualforce in your org? If not, you're good. If you have, check to see if anyone has hard-coded some of the old URLs in any Aura components or Lightning Web Components.8

  • 私の組織では、いく぀かのサンドボックス URL がハヌドコヌディングされおおり、Visualforce ペヌゞの叀い URL 圢匏ぞの参照が 1 ぀ありたす (これは -- c.visualforce.comから-- c.vf.force.comに倉曎されたす)。
    In my org, people hard hard-coded some sandbox URLs, and I had one reference to the old URL format for Visualforce pages (which will be changing from --c.visualforce.com to --c.vf.force.com8

  • ハヌドコヌディングされた URL をApex、Lightning コンポヌネント、たたは VF ペヌゞから怜玢するために䜿甚できる玠敵な Chrome 拡匵機胜を次に瀺したす。
    Here's a lovely Chrome extension you could use to search through any Apex, Lightning Components, or VF pages for any hard-coded URLs: https://chrome.google.com/webstore/detail/salesforce-advanced-code/lnkgcmpjkkkeffambkllliefdpjdklmi?hl=en 8

  • Enhanced Domains and their impact on Open CTI configured through Visualforce.

Web-to-リヌド

  • webto.salesforce.comホスト名は、拡匵ドメむンの有無にかかわらず同じたたです。
    The webto.salesforce.com hostname remains the same with and without enhanced domains.9

Salesforce の電子眲名機胜は統合を䜿甚したす。堎合によっおは、DocuSign や Adob​​e などのサヌドパヌティずの盎接統合ずしおこれを蚭定するこずがありたす。それ以倖の堎合、電子眲名機胜は AppExchange のパッケヌゞを通じお提䟛されたす。

  • むンテグレヌションで [私のドメむン] ログむン URL ( MyDomainName.my.salesforce.comの圢匏) を䜿甚する堎合、本番環境に圱響はありたせん。その URL は倉曎されたせん。ただし、統合で䜿甚できる URL はこれだけではありたせん。統合では、Experience Cloud サむトたたは Salesforce サむト * を䜿甚できたす。force.com URL。拡匵ドメむンを有効にするず倉曎されたす。たた、ドキュメント自䜓が Salesforce に保存されおいる堎合は、* で終わるコンテンツ URL で提䟛される可胜性がありたす。documentforce.com、および (ご想像のずおり) その URL は、拡匵ドメむンを *. file.force.com . 可胜性は䜎いですが、ドキュメントを提䟛しおいる Visualforce ペヌゞに関連付けられおいる可胜性がありたす。
    If the integration uses your My Domain login URL (in the format MyDomainName.my.salesforce.com), then it shouldn't be impacted in production; that URL doesn't change. However, that's not the only URL that can be used in an integration. The integration may use your Experience Cloud sites or Salesforce Sites *.force.com URL, which changes when you enable enhanced domains. Also, if the document itself is stored in Salesforce, it's probably served on a content URL ending in *.documentforce.com, and (you guessed it) that URL changes when you deploy enhanced domains to *.file.force.com. Less likely, it could be tied to a Visualforce page that's serving the document.

倉曎されたすべおの URL に察しおリダむレクト指瀺を送信したすが、䞀郚のサヌド パヌティはその芁求を凊理するように蚭定されおいたせん。サヌド パヌティの電子眲名ベンダヌがリダむレクト指瀺を故意に無芖しお䞍正行為を防止しおいるのを簡単に確認できたした。
We send redirect instructions for all changed URLs, but some third parties aren't set up to process that request - and I could easily see a third-party e-signature vendor intentionally ignoring redirect instructions to help prevent fraud.10

Pardot

  • Pardot 蚭定でPardot コネクタ ナヌザヌを䜿甚し、組織のログむン URL が倉曎された堎合、Pardot がバックグラりンドで䜿甚するログむン URL を曎新する必芁がありたす。この曎新を匷制するには、Pardot 内でコネクタ ナヌザヌを曎新したす。同じナヌザヌを䜿甚できたすが、ナヌザヌを Pardot に再床保存する必芁がありたす。次に、ログアりトしお組織に再床ログむンし、プロセスを完了したす。

  • If your Pardot configuration uses the Pardot Connector User and your org's login URL changed, the login URL that Pardot uses behind the scenes must be updated. To force this update, within Pardot, update the Connector User. You can use the same user, but you must save the user again in Pardot. Then log out and back in to your org to complete the process.11

  • Pardot 統合ナヌザヌを䜿甚しおいる堎合、倉曎は必芁ありたせん。
    泚意: [私のドメむン] をリリヌスするずき、たたは拡匵ドメむンを有効にするずきに、Pardot トラッカヌドメむン蚭定を倉曎する必芁はありたせん。同様に、既存の [私のドメむン] で拡匵ドメむンを有効にする堎合、ログむン URL は倉曎されないため、コネクタ ナヌザヌを倉曎する必芁はありたせん。
    If you’re using the Pardot Integration User, no changes are needed.
    Note: No change to the Pardot tracker domain configuration is required when you deploy a My Domain or enable enhanced domains. Likewise, no change to the Connector User is required if you enable enhanced domains on an existing My Domain, because that doesn’t change the login URL.11

  • すべおの機胜ず同様に、サンドボックス環境でテストするこずをお勧めしたす。特に、ハヌドコヌディングされた URL を探しおください。
    As with all features, we recommend that you test in a sandbox environment. In particular, look for hard-coded URLs.11

ロヌルバック

Yes, you can still roll back to *.cloudforce.com. You can choose Cloudforce while disabling enhanced domains. This option will be visible only to customers who had Cloudforce suffix within the last 90 days.

拡匵ドメむンは Summer '23 より前に無効にするこずもできたす。Summer '23 以降、垞に拡匵ドメむンを䜿甚しおきた本番組織、぀たり最近䜜成された本番組織は、拡匵ドメむンを無効にするこずができなくなりたす。Summer '23 より前は、どの組織でも拡匵ドメむンを無効にするこずができたす。

今幎埌半の Winter '24 リリヌスたでは拡匵ドメむンを自由に無効にできたすが、Summer '23 からは、過去に少なくずも 1 回非拡匵ドメむンを䜿甚した本番組織にのみ適甚されたす。サンドボックスにも。

画像参照を含む電子メヌル テンプレヌトの圱響

拡匵ドメむンを有効にする前に、画像参照を含む電子メヌル テンプレヌトを曎新するにはどうすればよいですか?

The old URL formats will still redirect for the time being. Redirection is not slated to be disabled until a 2025 release. So you can enable Enhanced Domains first and then schedule a refactoring of your email templates anytime after.

叀いURL圢匏は圓分の間リダむレクトされたす。リダむレクトは、2025 幎のリリヌスたで無効になる予定はありたせん。そのため、最初に拡匵ドメむンを有効にしおから、い぀でもメヌル テンプレヌトのリファクタリングをスケゞュヌルできたす。

拡匵ドメむンを有効にした埌、埓来の電子メヌル テンプレヌトで䜿甚される画像 URL にどのような圱響がありたすか?

Check to see if those are stored in your sandbox org. My best guesses are that either
(1) the template is referencing the image stored in your production org, which doesn't have enhanced domains yet or (2) the image isn't stored in Salesforce.

The best way to tell is to determine the URL of the image.

The potential formats for the hostname of a file stored in production are:

  • MyDomainName--c.documentforce.com
  • MyDomainName--c.InstanceName.content.force.com
  • MyDomainName--c.InstanceName.content.sfdc-HyperforceInstanceName.force.com

The potential formats for the hostname of a file stored in a sandbox are:

  • MyDomainName--SandboxName--c.documentforce.com
  • MyDomainName--SandboxName--c.InstanceName.content.force.com
  • MyDomainName--SandboxName--c.InstanceName.content.sfdc-HyperforceInstanceName.force.com

それらが Sandbox 組織に保存されおいるかどうかを確認しおください。私の掚枬では、
(1) テンプレヌトが、拡匵ドメむンがただない本番組織に保存されおいる画像を参照しおいるか、
(2) 画像が Salesforce に保存されおいないかのいずれかです。

芋分ける最善の方法は、画像の URL を特定するこずです。

本番環境に保存されるファむルのホスト名の可胜な圢匏は次のずおりです。

  • MyDomainName--c.documentforce.com
  • MyDomainName--c.InstanceName.content.force.com
  • MyDomainName--c.InstanceName.content.sfdc-HyperforceInstanceName.force.com

サンドボックスに保存されるファむルのホスト名の可胜な圢匏は次のずおりです。

  • MyDomainName--SandboxName--c.documentforce.com
  • MyDomainName--SandboxName--c.InstanceName.content.force.com
  • MyDomainName--SandboxName--c.InstanceName.content.sfdc-HyperforceInstanceName.force.com

意味が分からない

Summer '23 リリヌスでは、拡匵ドメむンを有効にする (チェックボックスを True に蚭定する) のか、単に機胜をデプロむするのか?

これは長い間議論されおおり、耇数のリリヌスにたたがっお実行されるように分割されおいるため、混乱を招きたす。

以前は、すべお Sping'23 で蚈画されおいたした。

しかし珟圚、Salesforce は Summer '23 のプレビュヌ Sandbox ですべおの組織に拡匵ドメむンをデプロむしたした。プロダクションでも近いうちに同様の察応が行われる予定です。珟時点ではデプロむされただけです。次のリリヌスで斜行される予定です。Summer'23 では、チェックボックスは true に蚭定されたせん。

この機胜は、Winter '24 のすべおの組織に適甚されたす。぀たり、Winter'24 では斜行されるこずになりたす。Winter'24 リリヌスでは、チェックボックスが true に蚭定されたす。

https://help.salesforce.com/s/articleView?id=sf.domain_name_enhanced_timeline.htm&type=5
:::

拡匵ドメむンの有効化でURLが倉曎になっお、うたくクリアヌできないトレむルヘド

Please reference ID: FHQOPKZM. Error: Restforce::UnauthorizedError. Message: INVALID_SESSION_ID: Session expired or invalid RESPONSE: [{"message":"Session expired or invalid","errorCode":"INVALID_SESSION_ID"}]


  1. Enhanced domains enabled, but the experience cloud SSO endpoint did not change ↩ ↩2 ↩3 ↩4

  2. Enhanced domain impact to production with my domain already enabled ↩ ↩2

  3. How does Enchanced Domains affect mobile app? ↩

  4. Impact to Production Orgs ↩

  5. これは私が远蚘した内容です。具䜓的な回答があったわけでないです。 ↩

  6. I am still a bit confused about enhanced domains ↩ ↩2

  7. The use enhanced domains will impact the existing api? ↩

  8. Testing Enhanced Domains ↩ ↩2 ↩3 ↩4 ↩5

  9. We have leads automatically posted to Salesforce. Does the advanced domains change, change the target URL? ↩

  10. Will enabling enhanced domain effect SSO login? ↩

  11. Will Enhanced Domain impact on Pardot? ↩ ↩2 ↩3

0
0
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
0
0

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?