Hi all, I am facing a problem in my application. I am using WebDav to perform Calendaring with exchange. My application flow is 1)I search exchange appointment for given search string. 2)I update an recurring appointment out of the obtained list. 3)I persist the search string and with the same request again search the exchange store for appointment. This time the list i get from exchange is same as the previous one. Although the exchange is being updated with my changes. 4) If I do the search again now I get an updated list of appointments. This happens only in case of recurring appointment; In case of non-recurring appointment my application works fine. Can somebody guide me what wrong is there. Is an exchange use some kind of caching for WebDav SerachMethod. What I think is, this could be because the way exchange maintains the recurring appointments. I retrieve only the Non Recurring and Single Recurring Appointments in search function. Please if somebody can guide. Thanks.
Are you doing an expansion query eg do you define a date range in your query see http://msdn.microsoft.com/library/default.asp?url=/library/en-us/wss/wss/_cdo_enabling_recurring_appointment_expansion.asp . What happens if you look at the appointment in OWA or Outlook and then reissue the query does this make a difference. Cheers Glen "mi_exchange" wrote in message news:9e029c62370dfb7482ebbe9f5a2b71e2@localhost.talkaboutsoftware.com... > Hi all, > > I am facing a problem in my application. I am using WebDav to perform > Calendaring with exchange. > > My application flow is > 1)I search exchange appointment for given search string. > 2)I update an recurring appointment out of the obtained list. > 3)I persist the search string and with the same request again search the > exchange store for appointment. This time the list i get from exchange is > same as the previous one. Although the exchange is being updated with my > changes. > 4) If I do the search again now I get an updated list of appointments. > > This happens only in case of recurring appointment; In case of > non-recurring appointment my application works fine. > > Can somebody guide me what wrong is there. > Is an exchange use some kind of caching for WebDav SerachMethod. What I > think is, this could be because the way exchange maintains the recurring > appointments. > > I retrieve only the Non Recurring and Single Recurring Appointments in > search function. > > Please if somebody can guide. > > Thanks. > > >
Hi Glen, Thanks for your reply. I have already gone through the article you have suggested. But since i am doing a search for user entered string, it is not possible for me to have date range with the SearchMethod Query. After updating a recurring appointment. When I fire the search query for Single Instance, Master Instance and Single Recurring Instance, I get the updated value for Master Instance but it's corresponding Single recurring instance are not updated. When I do the search second time, this time i get all the instance updated. I am not able to understand if it can give me the right values in second search why not in first search. Some strange behavior. For the time being I have tried to find some other solution to the problem. Thanks, Milind