我是一个使用SAP 2105和与Smartedit有一些问题。Smartedit在本地设置上工作很好,但它不允许我在开发或生产环境中编辑。我注意到下面的api不是返回DEV环境中所有必需的组件,而是在本地返回所有组件。在Dev上,它只返回一个组件。
/cmswebservices/v1/catalogs/fffContentCatalog/versions/Online/pages/homepage/typerestrictions响应:
[{"contentSlotUid":"MiniCartSlot","validComponentTypes":["MiniCartComponent","NavigationComponent"]}]任何关于如何修复或调试的建议,因为这只发生在DEV中。
发布于 2022-08-02 10:02:13
我认为您应该为SmartEditConfiguration添加,白色urls允许访问您的智能编辑站点。
示例:
UPDATE GenericItem[processor=de.hybris.platform.commerceservices.impex.impl.ConfigPropertyImportProcessor];pk[unique=true]
$smartediturl=$config-domain.smartedit.url
INSERT_UPDATE SmartEditConfiguration;key[unique=true];value
;whiteListedStorefronts;$smartediturl然后在config目录下,将domain.smartedit.url键及其值添加到.properties文件中。
domain.smartedit.url= ["*"]domain.smartedit.url= ["<your_dev_domain>"]domain.smartedit.url= ["<your_stg_domain>"]domain.smartedit.url= ["<your_prd_domain>"]致以问候。
https://stackoverflow.com/questions/71408563
复制相似问题