问题描述
您好,
是否可以使用EWS操作在邮件应用中设置扩展自定义属性。
Is it possible to set the extended custom properties in the mail app by using EWS operations.
我知道我们可以设置自定义属性,但这些属性只能通过邮件应用程序访问,因此这种方法对我不起作用。
I know we can set the custom properties but those properties can only be accessible by mail app, so this approach will not work for me.
我想在上面设置一些自定义数据在阅读和撰写模式中预约我的意思是在创建新约会时我也希望当房间(将被视为被邀请者)收到邀请时,这些属性应该可用。因此,当订阅事件触发该房间时,交换Web服务的
可以使用该数据。
I want to set some customised data on the appointment in both read and compose mode i mean while creating new appointment) i also want that those properties should be available when a Room(will be treated as invitee) receive an invitation. so that exchange web services can use that data when a subscription event fires that room.
我正在考虑使用makeEwsRequestAsync,但如果我没错,我们需要项目ID,仅在读取模式下可用。我不知道如何在没有使用项目ID的情况下在撰写模式下进行EWS操作,我也不确定我们是否可以用这种方式设置
扩展自定义属性。
i was thinking to use makeEwsRequestAsync, but if i am not wrong for that we need Item ID, which is only available in Read mode. i do not know how to make EWS operation in compose mode without using item id and i am also not sure that whether we can set extended custom properties in this way or not.
Thnaks
推荐答案
调用Web服务来自Outlook的邮件应用程序
Call web services from a mail app for Outlook
http://msdn.microsoft.com/en-us/library/fp160952.aspx#mod_off15_appscope_CallingWebServices_SupportedEWS
我相信您可以使用GetItem访问任何自定义属性:
I believe you can use GetItem to access any custom property:
GetItem操作
GetItem operation
http://msdn.microsoft.com/en-us/library/aa565934.aspx
对于撰写项目,我相信在发出需要ID的EWS调用之前,您必须先保存该项目。
For compose items, I believe you'll have to save the item first before issuing an EWS call that requires the ID.
这篇关于邮件应用程序中的EWS操作的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!