【问题标题】:In outlook Item send event handler , click the send button error thrown while Message sending在 Outlook 项目发送事件处理程序中,单击消息发送时抛出的发送按钮错误
【发布时间】:2021-10-29 10:19:19
【问题描述】:

在 Outlook 新消息中撰写或编辑 Outlook 事件,单击发送按钮,(通过使用 Outlook 加载项中的项目发送事件处理程序),单击发送按钮抛出此错误

但我想要这个,当我点击我的 Outlook 插件 command.js 文件上触发的发送按钮时,它不会触发该文件中的任何内容,引发此错误

在 Outlook 加载项 manifest.xml 文件中,将此代码用于项目发送事件处理程序

 <ExtensionPoint xsi:type="Events">
        <Event Type="ItemSend" FunctionExecution="synchronous" FunctionName="validateSubjectAndCC" />
      </ExtensionPoint>``

在我的 command.js 文件中调用了这个提到的函数名称,但在函数内部没有触发任何东西,它显示在 Outlook 信息栏错误

注意事项:我用javascript语言开发的outlook插件

关于这个的任何想法请分享我

提前致谢

【问题讨论】:

    标签: outlook-addin office-addins outlook-web-addins outlook-restapi


    【解决方案1】:

    很可能OfficeJS 运行时找不到加载项清单文件中提到的函数。确保加载项托管在清单文件中提到的 URL 中。您也可以尝试在 GitHub 上运行 the sample add-in

    【讨论】:

    • 好的,谢谢
    猜你喜欢
    • 1970-01-01
    • 1970-01-01
    • 2012-09-12
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 2022-11-22
    相关资源
    最近更新 更多