-
Notifications
You must be signed in to change notification settings - Fork 96
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Unable to Fetch Matching StoreID in Office JS Add-In #4907
Comments
@kvnsairaamreddy Thank you for your question. We're currently looking into it and will keep you posted |
Hi @kvnsairaamreddy, unfortunately we don't have any equivalent of StoreID in Office JS Add-in. Preferably you store the immutable ID instead of the StoreId. |
@Swathy-Mothilal thanks for the confirmation, actually in our old implementation, for our use case, I believe we were making use of this StoreID for meetings to identify the original calendar from where the data was contributed so that it can only be updated/deleted from the same calendar, is there any available id which can be used to fulfill this use case |
Hi @kvnsairaamreddy For your use case, please verify if the itemId mentioned [Refer - https://learn.microsoft.com/en-us/javascript/api/outlook/office.appointmentread?view=outlook-js-1.11&preserve-view=true#outlook-office-appointmentread-itemid-member] meets your needs. The itemId uniquely identifies the meeting, allowing you to update or delete it from the calendar. |
Hi @Swathy-Mothilal actually in our existing implementation, we are using combination of StoreId+EntryId as a way to identify the meeting and confirm the source calendar from where the data was initially contributed and we were planning to do the same in our new implementation as well, currently to fetch the EntryId in office js, we are extracting it from the itemId by removing few characters at the start and end. |
@kvnsairaamreddy The identifier returned by the itemId property is the same as the Exchange Web Services item identifier. Kindly refer to https://learn.microsoft.com/en-us/exchange/client-developer/exchange-web-services/ews-identifiers-in-exchange#working-with-identifiers and make sure your business use case fits in it. |
This issue has been automatically marked as stale because it is marked as needing author feedback but has not had any activity for 4 days. It will be closed if no further activity occurs within 3 days of this comment. Thank you for your interest in Office Add-ins! |
We currently have an existing Outlook desktop COM add-in that we are rewriting using Office JS. In our old add-in, we store the StoreID along with other properties when a meeting or appointment is created in Outlook. This StoreID is critical for our business logic.
However, in our new add-in using Office JS, we are unable to fetch an ID that matches the StoreID from the old add-in. We need to either fetch the same StoreID or find a way to map to it appropriately.
Attempted Approaches
Using EWS to Fetch StoreID:
We have used the GetItem and GetFolder EWS operations to try and fetch the PR_STORE_ENTRYID property.
Despite specifying the PropertyTag for PR_STORE_ENTRYID (0x0FFB), the retrieved ID does not match the one from the old add-in.
Expected Result
We are hoping to retrieve the same StoreID or find an appropriate ID mapping that matches the StoreID used in our old add-in.
Request
Could someone with expertise in EWS, Office JS, or Outlook add-ins provide guidance on how to correctly fetch the StoreID in the new add-in? Any insights or alternative approaches would be greatly appreciated.
Thank you in advance!
The text was updated successfully, but these errors were encountered: