Comments (6)
It looks like with the Viva Insight Application, you managed to keep the Add-in panel visible (ours is disappearing when selecting multiple emails). Could you please give us some guidance on how to do it?
from office-js.
- This is the Graph API for getting multiple emails: https://learn.microsoft.com/en-us/graph/api/user-list-messages?view=graph-rest-1.0&tabs=http. When using this API, you can $filter to get just the emails you want by their IDs. However, this API returns HTML versions of the emails. You can also use this API to get the MIME (.EML) versions of the emails: https://learn.microsoft.com/en-us/graph/api/message-get?view=graph-rest-1.0&tabs=http. I'm not sure if that API will return multiple emails per call or not, however. Our team supports the Office JS APIs used to get data from the Outlook client, so we don't have all the answers about Graph.
- For saving the email on send, you can either use an event-based add-in to save at the moment of send from Outlook or you can wait until after the message is successfully sent to get it from Exchange through Graph. If you use the event-based approach to save on send, this doc covers how to add that to your add-in: https://learn.microsoft.com/en-us/office/dev/add-ins/outlook/autolaunch. There's also an example of a similar scenario: https://learn.microsoft.com/en-us/office/dev/add-ins/outlook/smart-alerts-onmessagesend-walkthrough?tabs=jsonmanifest. Please be aware that if you use this method of saving on send in the client, there may be other add-ins running on send as well that can modify the message after your add-in processes it. Getting the message after send from Graph through the APIs above ensures you would get the final version. You may run into an issue here where Exchange assigns the ID of a message after Exchange receives it (that is, after the client has sent it), so the client doesn't know the ID beforehand.
- Drag and drop does sound like a good way for users to identify which messages they want to save, but we don't support it today. A similar approach might be having the users open your task pane, select the messages they want, and then provide a "save" button in the task pane that saves the selected messages to your backend through the Graph APIs.
- Did you already add support for multiselect as documented here? https://learn.microsoft.com/en-us/office/dev/add-ins/outlook/item-multi-select? If so, we'll maybe need your manifest to repro the issue. This isn't the expected behavior, so if you check over that multiselect doc and nothing looks out of place in your add-in let's discuss repro steps out of this public forum so we don't overshare data.
from office-js.
@C6900811 By the way, Tina who works with you as a cloud architect has reached out directly as well to see if you need any help with structuring the graph queries. Let us know if you need a direct connection to her
from office-js.
Did all that make sense?
from office-js.
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!
from office-js.
This issue has been closed due to inactivity. Please comment if you still need assistance and we'll re-open the issue.
from office-js.
Related Issues (20)
- body.clear() not working for content controls HOT 3
- How to make slide active Or How to insert image using index HOT 4
- Addin sample not showing in new look outlook and browsers. HOT 5
- Identifying Usage of New Outlook in Office-js Add-ins HOT 1
- Not able to sideload outlook addin. in macbook there is no option to add the manifest file HOT 5
- Inserting Signature with the OnMessageSend event duplicates the signature
- The identity API is not supported for this add-in in online Word HOT 2
- Excel Online: calculation state can get stuck in Pending state when workbook contains charts HOT 3
- IP Address Range Needed for Microsoft Office Add-in Validation Process
- Office API messageParent Outlook on android doesn't work
- NAA: Unable to acquire access token for event-based activation (onMessageSend) HOT 2
- Outlook addin using Bootstrap modal or offcanvas bleeds through on Mac version of Outlook. Classic and New Outlook for Mac. HOT 2
- [Word API] Document.compare: ability to specify Original and Revised document?
- Outlook NAA issue: "Something went wrong. [7q6cl]" Error HOT 5
- Web Outlook provides improper attachment data if attachment is still uploading to the email HOT 2
- [Question] Is it safe to use `CustomFunctions.delayinitialization()`
- New Outlook - emails stuck in outlook at queued or draft status HOT 3
- context.application.createDocument works only first time HOT 1
- WorkBook level Define name is getting corrupted while reopening excel using base64
- In Outlook, getAllInternetHeadersAsync works on an item in the Inbox, but not the sent folder
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from office-js.