This is a migrated thread and some comments may be shown as answers.

Exchange provider Guid ID on Insert / Update

2 Answers 47 Views
Scheduler
This is a migrated thread and some comments may be shown as answers.
Ismael
Top achievements
Rank 1
Ismael asked on 13 Feb 2015, 04:25 PM
Hello,

I would like to know if you have any idea about the following issue :

After an insert , i have some CRUD method to insert or deleting an appointement . In our system , the ID stored is a long and Outlook generate a string (guid?)

The thing is if i want to synchronize both systems , i need to match on the ID but in this case , they are different .

It seems that my insert method is executed first (Debug), and then the Exchange provider insert the new appointment (successfully) .

Is there a way to get the newly guid ID created by the ExchangeProvider ? In that case , it will be easier to create an ExternalID on our database .

Thanks a lot for your help,

Issou     

2 Answers, 1 is accepted

Sort by
0
Boyan Dimitrov
Telerik team
answered on 18 Feb 2015, 03:10 PM
Hello Issou,

I am afraid that you are not able to access the new ID value created by the Exchange provider. It is created internally and you can not access it. 


Regards,
Boyan Dimitrov
Telerik
 

Check out the Telerik Platform - the only platform that combines a rich set of UI tools with powerful cloud services to develop web, hybrid and native mobile apps.

 
0
Ismael
Top achievements
Rank 1
answered on 18 Feb 2015, 08:10 PM
Hello,

In fact , i found the solution on the AppointmentInsert method in the ExchangeSchedule Provider .

When the provider calls the service for inserting  ( Service.CreateItem(AppointmentToInsert) ) , it returns a ResponseMessageType object that contains  a CalendarItemType object with the item.ID property that contains the new Guid created .


Thank you ,

Ismael
Tags
Scheduler
Asked by
Ismael
Top achievements
Rank 1
Answers by
Boyan Dimitrov
Telerik team
Ismael
Top achievements
Rank 1
Share this question
or