---
title: "URLをCommerce Business Toolsに変更してください"
slug: "change-the-url-to-the-commerce-business-tools"
abstract: "Commerce Business ToolsのURLを変更する方法。"
---
# URLをCommerce Business Toolsに変更してください

CommerceのBusiness ToolsのデフォルトURLは、Coreデータベースのコンテンツエディターで確認できます。Sitecoreのユーザーインターフェース設定はすべて含まれています。例えば、SitecoreをカスタマイズしてCommerce Business Toolsの公開URLを提供する場合、このデータベースを使います。

![Behavior section for the Business Tools URL](https://doc.sitecore.com/api/markdown-image/xp/ja/developers/101/sitecore-experience-commerce/images/BusinessToolsURL.png)

Commerce Business ToolsのURLを変更するには:

1.  [Sitecore Launchpad](https://doc.sitecore.com/xp/en/users/100/sitecore-experience-platform/en/overview-of-the-sitecore-launchpad.html)で**Desktop**をクリックし、デスクトップではデータベースアイコン![TB\_DBicon.png](https://doc.sitecore.com/api/markdown-image/xp/ja/developers/101/sitecore-experience-commerce/images/TB_DBicon.png)をクリックし、その後**Core**データベースをクリックしてください。
    
    ![Sitecore Desktop database selector](https://doc.sitecore.com/api/markdown-image/xp/ja/developers/101/sitecore-experience-commerce/images/Core-database-menu-cropped.jpg)
    
2.  Sitecoreボタンをクリックし、その後コンテンツ **エディター**をクリックしてください。
    
    ![Sitecore Desktop application button](https://doc.sitecore.com/api/markdown-image/xp/ja/developers/101/sitecore-experience-commerce/images/Sitecore-logo-Desktop-cropped.jpg)
    
3.  コンテンツエディターでsitecore\\Client\\Your Apps\\Applications\\Launchpad\\Page Settings\\Buttons\\Commerceへ行ってください。
    
4.  **Behavior**セクションの**リンク**欄でリンクを更新し、変更を保存してください。
    
5.  以下の設定ファイルそれぞれで、**AllowedOrigins**設定を変更してください:
    
    -   C:\\inetpub\\wwwroot\\CommerceAuthoring\_Sc9\\wwwroot\\config.json
    -   C:\\inetpub\\wwwroot\\CommerceMinions\_Sc9\\wwwroot\\config.json
    -   C:\\inetpub\\wwwroot\\CommerceOps\_Sc9\\wwwroot\\config.json
    -   C:\\inetpub\\wwwroot\\CommerceShops\_Sc9\\wwwroot\\config.json
    
    "AppSettings": {
     "SiteTitle": "CommerceAuthoring\_Sc9",
     "BootStrapFile": "Global",
     "DeploymentId": "Deployment01",
     "EnvironmentName": "HabitatAuthoring",
     "EncryptionProtectionType": "Redis",
     "EncryptionCertificateHash": "Enter a valid certificate thumbprint for a PXF file. X-509 not supported yet",
     "EncryptionSID": "Enter a valid SID for a domain registered user",
     "EncryptionKeyStorageLocation": "c:\\\\Encryption-Keys\\\\",
     "SitecoreIdentityServerUrl": "https://cqa-dem-01-dk1-identityserver",
     "AllowedOrigins": 
     "https://<sitename>:4200",
     "https://bizfx.sc9.qa",
     "https://<sitename>"
     ,
    
6.  以下の設定ファイルで **、BizFxUri**の設定を変更してください:
    
    -   C:\\inetpub\\wwwroot\\SitecoreBizFx\\assets\\config.json
    
    {
     "EnvironmentName": "HabitatAuthoring",
     "EngineUri": "https://<sitename>:5000",
     "IdentityServerUri": "https://<sitename>-identityserver",
     "BizFxUri": "https://<sitename>:4200",
     "Language": "en",
     "Currency": "USD",
     "ShopName": "CommerceEngineDefaultStorefront",
     "LanguageCookieName": "selectedLanguage",
     "EnvironmentCookieName": "selectedEnvironment",
     "AutoCompleteTimeout\_ms": 300
    }
    
7.  以下のSitecore Identity Server設定ファイルで、**AllowedCORSOrigins**の設定を変更し、グループに新しいURLを含めるように変更してください:
    
    -   C:\\inetpub\\wwwroot\\SitecoreIdentityServer\\Config\\Production\\Sitecore.Commerce.IdentityServer.Host.xml
    
    <AllowedCorsOrigins>
     <AllowedCorsOriginsGroup1>https://<sitename>:4200|https://cqa-dem-01-dk1:5000</AllowedCorsOriginsGroup1> <AllowedCorsOriginsGroup2>https://bizfx.sc9.qa|https://commerceauthoring.sc9.qa</AllowedCorsOriginsGroup2>
    </AllowedCorsOrigins>
    
8.  IISを使ってすべてのEngineインスタンスを再起動してください。
    
9.  IISを使ってBusiness Toolsサイトを再起動してください。
    
10.  IISを使ってSitecore Identity Serverを再起動してください。