【发布时间】:2014-10-05 07:27:55
【问题描述】:
我在安装包后使用Sitecore Item Web API 模块,我试过http://[hostname]/-/item/v1/?query=/sitecore/content/* 这个URL。但我一直收到 404。
请问有什么意见吗?
【问题讨论】:
标签: sitecore
我在安装包后使用Sitecore Item Web API 模块,我试过http://[hostname]/-/item/v1/?query=/sitecore/content/* 这个URL。但我一直收到 404。
请问有什么意见吗?
【问题讨论】:
标签: sitecore
请在包含文件夹下的 Sitecore.ItemWebApi.config 文件中更新网站设置,如下所示。
<site name="website">
<patch:attribute name="itemwebapi.mode">StandardSecurity</patch:attribute>
<patch:attribute name="itemwebapi.access">ReadOnly</patch:attribute>
<patch:attribute name="itemwebapi.allowanonymousaccess">true</patch:attribute>
</site>
我认为它对你有用。
【讨论】: