-
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
Outlook Addin API body.getAsync missing some styles on mac #149
Comments
@mlafleur Thanks for tagging the issue and responding on stackoverflow. For the Outlook team, is there an alternative way to get/set the body HTML (from a javascript addin) during message compose that we can look into, before this issue is investigated/resolved? Thanks. |
Thanks for raising it. We are working on towards fixing it. |
@macOutlookExtensibility Hi, is there an update on this issue or ETA for the fix? Thanks. |
@macOutlookExtensibility @exextoc Any updates on the fix progress? We have many clients affected by this issue. Thanks. |
@macOutlookExtensibility @exextoc Any updates ? |
As a workaround you can save it Exchange:
and then get the body via
|
;( |
@macOutlookExtensibility Has this issue been fixed? Thanks. |
The issue is still reproducible as of today. |
@ElizabethSamuel-MSFT @macOutlookExtensibility Is there an update on this issue? There are other similar issues reported (e.g. #402), and it impacts our add-in users on Mac. |
Issue still present....
Unfortunately it will not work for all cases. Per docs, it may take some time until ID can be used in API if outlook is in caching mode (afaik it is a default for Outlook desktop for Windows). Because of this - you can never be sure if you will receive current body or body from last draft save. |
I am no longer working on this project. But as far as I remember, we added a check that new ID after Here is more info about this issue: |
The issue is still happening; is fixing this issue still in the roadmap? |
It is in our backlog and unfortunately we do not have a timeline to share as of now.Can you please help us understand what is the impact you are having with this issue |
Thanks @exextoc for your reply. In our case, we provide a spellchecking tool; errors found are displayed in a task pane, and the user can click on a suggestion to apply a correction. As there is no API to replace the text at a specific index, or delete a given length at any index, we retrieve the whole text, update it, then re-inject it using Hope this helps to find a workaround! |
@fiftydegrees We do not have a workaround for this yet. Can you also please share number of impacted users? |
This issue is fixed in New Outlook Mac version >= 16.75 |
Office.context.mailbox.item.body.getAsync() on mac misses certain styles, such as bullet points.
Details:
Expected Behavior
Insert the following bullet in message body using the client UI:
• Testing bullets
Current Behavior
Call getAsync and receive the following:
<p class=MsoListParagraph style='text-indent:0in'>Testing bullets</p>
Call setAsync and expect the bullet to disappear:
Testing bullets
Steps to Reproduce, or Live Example
See above
Context
I understand the documentation indicates:
Body.getAsync and Body.setAsync methods are not idempotent.
But the bullet is inserted from the Outlook UI itself and I expect the API to fully support it.
Your Environment
Stackoverflow question here:
https://stackoverflow.com/questions/50451394/outlook-addin-api-body-getasync-missing-some-styles-on-mac
The text was updated successfully, but these errors were encountered: