Adding Storefronts to the Allowlist of Permitted Domains in the Configuration Editor

You must add cross origin storefronts to the allowed storefronts in the Configuration Editor, so that you can edit them using SmartEdit.

Procedure

  1. Sign into SmartEdit as the admin user
  2. In a page of a content catalog version, select Settings .

    The Configuration Editor appears.

  3. Specify the storefronts that you want to edit in the whiteListedStorefronts box.

    SmartEdit permits you to use a wildcard ( [ "*" ] ) to specify all domains. However to restrict access, you can use either a RegExp or the domain, for example, *.domain.com.

  4. Save your changes.

    You can also add storefronts to the list by importing the data using ImpEx as shown in the following code excerpt:

    # Allow all storefronts to enable cross origin
    INSERT_UPDATE SmartEditConfiguration;key[unique=true];value
    ;whiteListedStorefronts;"[""*.domain.com""]"