OfficeDev / office-js

A repo and NPM package for Office.js, corresponding to a copy of what gets published to the official "evergreen" Office.js CDN, at https://appsforoffice.microsoft.com/lib/1/hosted/office.js.
https://learn.microsoft.com/javascript/api/overview
Other
685 stars 95 forks source link

unable to get an unique identifier from outlook #1376

Closed LovikaJain closed 4 years ago

LovikaJain commented 4 years ago

I have posted the question on outlook as well. I am looking for a unique identifier like GlobalAppointmentID in VBA. https://stackoverflow.com/questions/63811514/how-to-get-an-unique-identifier-to-identify-an-appointment-in-outlook-appointme

AlexJerabek commented 4 years ago

Thanks for the question @LovikaJain.

@exextoc, could you please assist here?

exextoc commented 4 years ago

From API set 1.8, the API getItemIdAsync is available in Appointment Organizer and provides the item id, which can be used to identify the appointment.

LovikaJain commented 4 years ago

I am getting "The id can't be retrieved until the item is saved." I am trying to get the Item Id in the calendar event. The item is not getting saved till the time. won't the itemId change when I edit the meeting?

exextoc commented 4 years ago

Since this is the same issue as on Stack Overflow and to avoid duplicating answers between Github and StackOverflow, closing this issue here and following up on Stack Overflow.