Sharing the copy of a document from an office application to outlook classic does not initialize composeType #4933
Labels
Area: Outlook
Issue related to Outlook add-ins
Needs: attention 👋
Waiting on Microsoft to provide feedback
Provide required information needed to triage your issue
Outlook classic addins are unable to get the compose type of messages when sharing a copy of an office document to outlook.
Your Environment
Expected behavior
Office.context.mailbox.item.getComposeTypeAsync
should returnOffice.MailboxEnums.ComposeType.NewMail
Current behavior
Office.context.mailbox.item.getComposeTypeAsync
returns an AsyncResult with the following errorSteps to reproduce
Office.context.mailbox.item.getComposeTypeAsync
will fail in this context. Both for add ins running as a launch event and in task panesContext
We are currently working around this issue by logging the error and returning
Office.MailboxEnums.ComposeType.NewMail
whenOffice.context.mailbox.item.getComposeTypeAsync
fails. However, this leads to a lot of noise, since this is a common use case for our users.The text was updated successfully, but these errors were encountered: