Change the URL to the Commerce Business Tools

Current version: 10.2

You can see the default URL for the Commerce Business Tools in the Content Editor for the Core database, which contains all settings for the Sitecore user interface. You use this database if you are customizing Sitecore, for example, to provide a public URL to the Commerce Business Tools.

Behavior section for the Business Tools URL

To change the URL to the Commerce Business Tools:

  1. On the Sitecore Launchpad, click Desktop and, on the desktop, click the database icon , and then click the Core database.

    Sitecore Desktop database selector
  2. Click the Sitecore button and then click Content Editor.

    Sitecore Desktop application button
  3. In the Content Editor, go to sitecore\Client\Your Apps\Applications\Launchpad\Page Settings\Buttons\Commerce.

  4. In the Behavior section, in the Link field, update the link and save your changes.

  5. In each of the following configuration files, modify AllowedOrigins setting:

    • 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

    RequestResponse
     "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. In the following configuration file, modify the BizFxUri setting:

    • C:\inetpub\wwwroot\SitecoreBizFx\assets\config.json

    RequestResponse
    {
        "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. In the following Sitecore Identity Server configuration file, modify AllowedCORSOrigins setting and modify the group to include the new URL:

    • C:\inetpub\wwwroot\SitecoreIdentityServer\Config\Production\Sitecore.Commerce.IdentityServer.Host.xml

    RequestResponse
     <AllowedCorsOrigins>
       <AllowedCorsOriginsGroup1>https://<sitename>:4200|https://cqa-dem-01-dk1:5000</AllowedCorsOriginsGroup1>            <AllowedCorsOriginsGroup2>https://bizfx.sc9.qa|https://commerceauthoring.sc9.qa</AllowedCorsOriginsGroup2>
    </AllowedCorsOrigins>
  8. Restart all Engine instances using IIS.

  9. Restart the Business Tools site using IIS.

  10. Restart Sitecore Identity Server using IIS.

Do you have some feedback for us?

If you have suggestions for improving this article,