日安,
我正在尝试为“编辑属性”表单功能区添加自定义操作按钮,但该按钮仍未显示。该解决方案将部署在服务器场级别和自定义列表中(本例中id为10001 )
<CustomAction Id="DocumentExchange"
Location="CommandUI.Ribbon.EditForm"
Title="element title"
RegistrationType="List"
RegistrationId="10001">
<CommandUIExtension>
<CommandUIDefinitions>
<CommandUIDefinition Location="Ribbon.DocLibListForm.Edit.Actions.Controls._children">
<Button
Id="ExchangeDocumentButton"
Sequence="1"
Command="ExchangeDocument"
LabelText="label text"
Image32by32="/_layouts/images/myIcon.png"
TemplateAlias="o2"
/>
</CommandUIDefinition>
</CommandUIDefinitions>
<CommandUIHandlers>
<CommandUIHandler
Command="ExchangeDocument"
CommandAction="javascript:alert('Not implemmented functionality call');"
/>
</CommandUIHandlers>
</CommandUIExtension>
我想知道问题是否一定不是沙箱级别的部署解决方案,或者站点中缺少一些额外的解决方案配置。
非常感谢您的帮助。
发布于 2011-01-30 21:07:11
文档库的RegistrationId为101,你能试试吗?
希望这对你有帮助,安妮塔
https://stackoverflow.com/questions/4838326
复制相似问题