Exchange provider Guid ID on Insert / Update

3 posts, 0 answers
  1. Ismael
    Ismael avatar
    4 posts
    Member since:
    Jan 2015

    Posted 13 Feb 2015 Link to this post

    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. Boyan Dimitrov
    Admin
    Boyan Dimitrov avatar
    1746 posts

    Posted 18 Feb 2015 Link to this post

    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.

     
  3. UI for ASP.NET Ajax is Ready for VS 2017
  4. Ismael
    Ismael avatar
    4 posts
    Member since:
    Jan 2015

    Posted 18 Feb 2015 in reply to Boyan Dimitrov Link to this post

    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
Back to Top