【问题标题】:Display an add-in command button only if there are attachments仅在有附件时显示加载项命令按钮
【发布时间】:2016-04-07 08:24:00
【问题描述】:

我尝试使加载项命令按钮仅在有附件时可见。有可能吗?

我希望我可以将“规则”节点添加到“控制”节点,但无法完成:

<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>

【问题讨论】:

    标签: outlook office365 outlook-addin office-addins office-js


    【解决方案1】:

    【讨论】:

      猜你喜欢
      • 2023-04-03
      • 2011-12-21
      • 1970-01-01
      • 1970-01-01
      • 2022-11-11
      • 1970-01-01
      • 1970-01-01
      • 2018-09-23
      • 2013-01-19
      相关资源
      最近更新 更多