2

当我单击此按钮时,我在 sitecore 中的哪个位置配置显示哪些字段?(目前,它列出了模板上 7 个字段中的 3 个,我想添加另一个以进行编辑)。

截屏

4

1 回答 1

1

它是编辑框架按钮之一。当您打开控件标记时,您会看到如下内容:

<sc:EditFrame ID="editFrame" runat="server" Buttons="/sitecore/content/Applications/WebEdit/Edit Frame Buttons/Default">
    ...
</sc:EditFrame>

它与 MVC 不同,但相似。您需要获取Buttons属性值。

当您在核心数据库中打开/sitecore/content/Applications/WebEdit/Edit Frame Buttons/Default path 时,您会看到子列表。这是你的按钮。对于您的情况,它应该只有一个按钮:Edit Item。此项目具有字段字段,其中使用管道作为分隔符是可用于编辑的字段列表。

于 2016-05-04T20:54:38.480 回答