You must add cross origin storefronts to the allowed storefronts in the Configuration Editor, so that you can edit them using SmartEdit.
Procedure
- Sign into SmartEdit as the admin user
- In a page of a content catalog version, select Settings
.
The Configuration Editor appears.
- 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.
- 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""]"