-
Notifications
You must be signed in to change notification settings - Fork 115
Closed
Labels
Needs: triage 🔍New issue, needs PM on rotation to triage ASAPNew issue, needs PM on rotation to triage ASAPPossible-SolutionSimilar-Issue
Description
Attachment name is getting incorrectly for the inline image when compared with the html content.
Your Environment
- Platform: PC desktop, Mac, iOS, Office on the web
- Host: outlook
- Browser (if using Office on the web): Edge and chrome
Expected behavior
Need to get the same attachment name of an inline image with the name which is there in the html content
Current behavior
Attachment name is getting incorrectly for the inline image when compared with the html content.
Steps to reproduce
- New mail > Add an inline image in the compose window
- Get the attachment details using the getAttachmentsAsync function and get the html content when compared the attachment name with the content it is different
Office.context.mailbox.item.getAttachmentsAsync({ asyncContext: { currentItem: Office.context.mailbox.item } }, async function(result){ }) function used to get the attachments
Office.context.mailbox.item.body.getAsync(Office.CoercionType.Html, function(htmlResult){}) function to get the html content of the compose window
Useful logs
Thank you for taking the time to report an issue. Our triage team will respond to you in less than 72 hours. Normally, response time is <10 hours Monday through Friday. We do not triage on weekends.
Metadata
Metadata
Assignees
Labels
Needs: triage 🔍New issue, needs PM on rotation to triage ASAPNew issue, needs PM on rotation to triage ASAPPossible-SolutionSimilar-Issue