Change the URL to the Commerce Business Tools
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.
To change the URL to the Commerce Business Tools:
-
On the Sitecore Launchpad, click Desktop and, on the desktop, click the database icon , and then click the Core database.
-
Click the Sitecore button and then click Content Editor.
-
In the Content Editor, go to
sitecore\Client\Your Apps\Applications\Launchpad\Page Settings\Buttons\Commerce
. -
In the Behavior section, in the Link field, update the link and save your changes.
-
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>" ],
-
-
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 }
-
-
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>
-
-
Restart all Engine instances using IIS.
-
Restart the Business Tools site using IIS.
-
Restart Sitecore Identity Server using IIS.