EWS - FindItem [英] EWS - FindItem
问题描述
HI,
我是否可以使用ExtendedProperty的名称和值(自定义属性名称及其值)在FindItem中检索calenderItem,该名称和值属于给定的日期范围
例如,在插入CalenderItem时,我添加了一个自定义属性(名称 - 类型,值 - 会议)。
我需要退出calenderItem,它具有名称为TYPE的扩展属性,其值为Meeting,它属于给定的日期范围。
提前致谢
Palani Kumar D
您不能同时使用CalendarView和限制,因此您需要查看解决此问题通常最好的事情使用ca获取日期范围的所有约会lendar查看FindItem请求并包含您的自定义属性。然后枚举约会并检查每个约会的价值。
欢呼
Glen
HI,
Whether can I retreive a calenderItem in FindItem using ExtendedProperty's Name and Value (Custom Property Name and also its Value) which falls in a given date range
For Example while inserting a CalenderItem I added a Custom Property (Name - TYPE, Value - Meeting).
I need to retireve the calenderItem having the extended property with name as TYPE and its value as Meeting which falls in a given date range.
Thanks in advance
Palani Kumar D
You can't use a CalendarView and a Restriction at the same time so you need to look at working around this usually the best thing to do is grab all the appointments for the daterange using a calendarView in a FindItem request and include your custom property. Then enumerate through the appointments and check the value of that property on each one.
cheers
Glen
这篇关于EWS - FindItem的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!