关闭iOS Outlook加载项后显示成功消息 [英] Display success message after close iOS Outlook Add-in

查看:103
本文介绍了关闭iOS Outlook加载项后显示成功消息的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

您好,


我正在将我的应用与iOS Outlook插件集成,一切都运行良好,但我想显示< g class = " gr_ gr_117 gr-alert gr_spell gr_run_anim ContextualSpelling ins-del multiReplace"数据-GR-ID =" 117"用户完成使用加载项后,id =" 117"> sucess< / g> 消息


我正在使用  Office。 context.ui.closeContainer();完成工作后关闭我的加载项的功能,但我还没想出如何在调用我的加载项的电子邮件中向用户显示成功消息。


任何帮助都将非常感激。


谢谢你们!


Thiago dos Reis


< style type =" text / css"> p.p1 {margin:0.0px 0.0px 0.0px 0.0px;字体:9.5px Helvetica; background-color:#000000}< / style>< style type =" text / css"> p.p1 {margin:0.0px 0.0px 0.0px 0.0px;字体:9.5px Helvetica; background-color:
#000000}< / style>

解决方案

您好,


这个目的Office.js API有
NotificationMessages
对象您可以使用它将状态消息添加到项目中。


代码的示例可能看起来像......

 Office.context.mailbox.item。 notificationMessages.addAsync(" information",{
type:" informationalMessage",
message:" Standard Encryption",
icon:" iconid",
persistent: false
});



结果看起来像(网络界面的屏幕截图,但类似于iOS)  ...



Hello,

I'm integrating my app with the iOS Outlook Add-in, everything is working great, but I would like to display a <g class="gr_ gr_117 gr-alert gr_spell gr_run_anim ContextualSpelling ins-del multiReplace" data-gr-id="117" id="117">sucess</g> message after the user finishes to use the Add-in.

I'm using the Office.context.ui.closeContainer(); function to close my Add-in once the work is done, but I haven't figured out how to show a success message to the user on the email that called my Add-in.

Any help on that will be very appreciated.

Thank you guys!

Thiago dos Reis

<style type="text/css">p.p1 {margin: 0.0px 0.0px 0.0px 0.0px; font: 9.5px Helvetica; background-color: #000000} </style><style type="text/css">p.p1 {margin: 0.0px 0.0px 0.0px 0.0px; font: 9.5px Helvetica; background-color: #000000} </style>

解决方案

Hello,

For this purpose Office.js API has NotificationMessages object which you will be able to use to add the status message to the item.

The example of the code may looks like ...

Office.context.mailbox.item.notificationMessages.addAsync("information", { 
  type: "informationalMessage", 
  message : "Standard Encryption", 
  icon : "iconid", 
  persistent: false 
});

The result will looks like (the screenshot for web interface, but similar will be for iOS) ...


这篇关于关闭iOS Outlook加载项后显示成功消息的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆