Configure CORS
For the D365 Commerce storefront site builder to display the asset selection, you must add an entry for the base URL to host the Sitecore Content Hub asset search pages.
To configure Cross-Origin Resource Sharing (CORS):
-
On the menu bar, click Manage.
-
On the Manage page, click Settings.
-
On the Settings page, in the search box, enter PortalConfiguration.
-
Expand PortalConfiguration and select CORS Configuration.
-
On the CORSConfiguration page, in the URL field, enter your D365 Commerce base url and click Add. The CORS configuration is now active as shown in the following example.
-
Click Save.