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

OnSend Outlook web add-in does not generate event for file upload and attach. #4270

Open Sagar-lab1 opened 6 months ago

Sagar-lab1 commented 6 months ago

Description - We have developed the Outlook web add-in to read and act on the files/mail body when it is sent though Outlook (ItemSend event) On Outlook mail/meeting attachment, There is an option 'Upload and Share', which uploads the data to Onedrive and shares the link in the mail. Since link is shared, Our add-in is not able to read/act on the data being uploaded to Outlook. Can we get the event through which we can read/act the file which is being uploaded to Onedrive.

Your Environment Platform [PC desktop, Mac, iOS, Office on the web]: PC Desktop Host [Excel, Word, PowerPoint, etc.]: New Outlook Office version number: Microsoft Outlook Version 1.2024.103.100 (Production) | Client Version 20240119003.15 . Operating System: Windows11 Browser (if using Office on the web): NA

shighosh-msft commented 6 months ago

Hi @Sagar-lab1, could you please specify which office-js api you are using to detect the attachments?

Sagar-lab1 commented 6 months ago

we are using following api - Office.context.mailbox.item.getAttachmentsAsync

akagarwa-msft commented 5 months ago

Thanks for reporting this issue regarding Attachments. It has been put on our backlog. We unfortunately have no timelines to share at this point.

Internal tracking id: Office: 4425969