SharePoint 2016 Project 增加数据验证按钮
<?xml version="1.0" encoding="utf-8"?>
<Elements xmlns="http://schemas.microsoft.com/sharepoint/">
<CustomAction Id="Ribbon.ContextualTabs.ProjectDrilldown.Tasks.Update" Location="CommandUI.Ribbon">
<CommandUIExtension >
<CommandUIDefinitions>
<CommandUIDefinition Location="Ribbon.ContextualTabs.ProjectDrilldown.Tasks.Update.Controls._children">
<Button
Id="Ribbon.ContextualTabs.ProjectDrilldown.Tasks.Update.CKTask-Large"
Command="CheckTask"
Image32by32="/_layouts/15/2052/images/ps32x32.png?rev=40"
Image32by32Top="-320"
Image32by32Left="-32"
LabelText="提交"
TemplateAlias="o1"/>
</CommandUIDefinition>
</CommandUIDefinitions>
<CommandUIHandlers>
<CommandUIHandler Command="CheckTask" CommandAction="javascript:OperateTask.checks();"/>
</CommandUIHandlers>
</CommandUIExtension>
</CustomAction>
</Elements>