[E2013] [EWS] [Windows]在Web客户端中检索outlook userproperties。 [英] [E2013][EWS][Windows] retreive outlook userproperties in web client.

查看:92
本文介绍了[E2013] [EWS] [Windows]在Web客户端中检索outlook userproperties。的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述





我们已经构建了一个outlook插件,需要设置用户属性以关联客户端&具有特定mailItem的自定义信息。目前,我们正在创建电子邮件Web客户端,并希望在Web客户端上传输和访问这些用户属性。
 这些属性是捆绑在邮件标题中还是存储在交换中并通过保存的密钥检索。如何在其他邮件服务器上访问这些属性,是否必须将这些属性传输到MAPI字段? 


谢谢,¥b $ b Milton C。




Milton Cody

解决方案

您可以访问您创建的任何用户属性在您使用扩展属性界面的EWS中的Outlook插件中,请参阅

https://msdn.microsoft.com/en-us/library/office/dn467898%28v=exchg.150%29.aspx
。使用EWS唯一不能做的就是读取或写入userproperty定义blob(这意味着您无法枚举用户创建的属性)。这应该
真的是问题但所有你需要做的是使用MAPI编辑器,如MFCMAPI或Outlook间谍 看看那里的属性都设置&NBSP现有项目,您应该 然后就可以使用他们喜欢


<预类= "prettyprint"> ExtendedPropertyDefinition UserProperty =新ExtendedPropertyDefinition(DefaultExtendedPropertySet.PublicStrings," MyCustomProperty" ;, MapiPropertyType.String);


干杯

Glen zh-b $ b


Hi,

We've built an outlook plugin that requires setting user properties to associate client & custom information with a particular mailItem. Currently we are creating an email web client and want to transfer and access those user properties on the web client.  Are these properties bundled into the message header or stored on exchange and retrieved through a saved key. How can I access these properties, on another mail server, do I have to transfer these to MAPI fields? 

Thanks,
Milton C.


Milton Cody

解决方案

You can access any user properties you create in your Outlook plugin in EWS using the Extended property interfaces see https://msdn.microsoft.com/en-us/library/office/dn467898%28v=exchg.150%29.aspx . The only thing you can't do with EWS is read or write the userproperty definition blob (which just means you can't enumerate what properties a user has created). That should really be issue however all you need to do is use a MAPI editor like MFCMapi or Outlook Spy to look at an existing item where the properties have set you should then be able to use them like

ExtendedPropertyDefinition UserProperty = new ExtendedPropertyDefinition(DefaultExtendedPropertySet.PublicStrings, "MyCustomProperty", MapiPropertyType.String);

Cheers
Glen


这篇关于[E2013] [EWS] [Windows]在Web客户端中检索outlook userproperties。的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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