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):

  1. On the menu bar, click Manage.

  2. On the Manage page, click Settings.

  3. On the Settings page, in the search box, enter PortalConfiguration.

  4. Expand PortalConfiguration and select CORS Configuration.

  5. 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.

    CORS configuration settings
  6. Click Save.

Do you have some feedback for us?

If you have suggestions for improving this article,