Outlook 仅当存在附件时才显示外接程序命令按钮
我尝试使外接程序命令按钮仅在有附件时可见。可能吗 我希望可以将“规则”节点添加到“控制”节点,但无法完成:Outlook 仅当存在附件时才显示外接程序命令按钮,outlook,office365,outlook-addin,office-addins,office-js,Outlook,Office365,Outlook Addin,Office Addins,Office Js,我尝试使外接程序命令按钮仅在有附件时可见。可能吗 我希望可以将“规则”节点添加到“控制”节点,但无法完成: <Control xsi:type="Button" id="hButton2"> <Label resid="hButton2Label" /> <Supertip> <Title resid="hButton2SupertipT" /> <Description resid="hBut
<Control xsi:type="Button" id="hButton2">
<Label resid="hButton2Label" />
<Supertip>
<Title resid="hButton2SupertipT" />
<Description resid="hButton2SupertipD" />
</Supertip>
<Icon>
<bt:Image size="16" resid="h-button2-icon-16" />
<bt:Image size="32" resid="h-button2-icon-32" />
<bt:Image size="80" resid="h-button2-icon-80" />
</Icon>
<Action xsi:type="ShowTaskpane">
<SourceLocation resid="hSourceLocation2"/>
</Action>
<Rule xsi:type="ItemHasAttachment" /> <-------------------- won't work
</Control>
Rule元素仅适用于CustomPane扩展点,不能在控件元素中定义:。另见: