【发布时间】:2025-12-04 00:50:01
【问题描述】:
我希望我的自定义操作菜单应用于特定列表;目前它使用以下 XML 指定,并应用于所有列表!
更具体地说;我什至希望将此自定义操作应用于特定列表的特定视图...
<CustomAction
Id="MyCustomActionId"
Title="My Custom Action"
Description="My Custom Action Description"
RequireSiteAdministrator="FALSE"
RegistrationType="List"
GroupId="ActionsMenu"
Sequence="1000"
Location="Microsoft.SharePoint.StandardMenu" >
<UrlAction Url="{SiteUrl}/_layouts/MySharepointArtifacts/MyCustomAction.aspx?ListId={ListId}"/>
</CustomAction>
我该怎么做?
【问题讨论】:
-
我已经有 stsadm 扩展来修复查找字段。添加另一个扩展名会很好。我可以访问通过 Sharepoint 对象模型配置的自定义操作吗?
-
我也尝试在列表的 schema.xml (List / Views / ViewHeader) 中添加链接,并被用户接受。在那里,我需要知道 UrlAction ~site moniker 的等效项以提供
标签: sharepoint sharepoint-2007