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
671 stars 96 forks source link

[Outlook] Allow to add attachments to certain positions in attachments list #3543

Closed Suntechnick closed 1 year ago

Suntechnick commented 1 year ago

Currently, addFileAttachmentAsBase64Async API adds the file to the end of attachment list in mailbox.

In our addin, our workflow looks like this:

This leads to situations where resulting attachments list order if different to how it was initially, which is not ideal for us.

Providing the option to insert attachment to certain position in the list would allow us to fix this issue.

davidchesnut commented 1 year ago

Hi @Suntechnick, thanks for posting this feature request. Can you please post it to our feature suggestions list at https://aka.ms/m365dev-suggestions where we track feature suggestions?

Thank you! David