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
690 stars 95 forks source link

Request for contentId Property in item.attachments #4987

Open lgajula-fds opened 1 month ago

lgajula-fds commented 1 month ago

Request for contentId Property in item.attachments

I am writing to ask why the contentId property is not supported in the item.attachments object when using the Office JavaScript API. We need this property to map inline attachments in the email body. Currently, we have to use EWS API requests to get this information.

If the contentId property was available directly in the Office JS API, it would reduce the number of API calls we need to make and simplify our process.

I have seen that others have raised similar issues before. Could you please let us know if there are any plans to add this feature soon? Your prompt attention to this matter would be greatly appreciated.

Issues Raised Earlier: https://github.com/OfficeDev/office-js/issues/3482 https://github.com/OfficeDev/office-js/issues/1823

Feature Request Raised Earlier: https://techcommunity.microsoft.com/t5/microsoft-365-developer-platform/in-outlook-js-addin-need-a-way-to-match-inline-attachment/idi-p/4013212

lgajula-fds commented 1 month ago

Any update on this request?