-
Notifications
You must be signed in to change notification settings - Fork 101
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
Office.context.mailbox.item is undefined when the reading pane is disabled in Outlook #5391
Comments
Here are some similar issues that might help you. Please check if they can solve your problem.
Possible solution (Extracted from existing issue, might be incorrect; please verify carefully) Solution 1:The issue is by design - Reference:
Solution 2:Currently, the feature of supporting add-ins when the reading pane is OFF is not a part of the product. You can submit a feature request on the Tech Community Page for consideration in future planning. Reference: Powered by issue-sentinel |
I find it absolutely unacceptable that Office.context.mailbox.item is designed to be undefined when the reading pane is turned off. This completely breaks the usability of add-ins in a scenario where users might prefer to disable the reading pane for workflow reasons. Forcing users to enable the reading pane just to access basic email data makes no sense and severely limits the flexibility of Outlook add-ins. Instead of providing a real solution, you’re just saying, "That’s how it works by design", which is not an acceptable answer. At the very least, there should be an alternative method to retrieve the item details when the reading pane is off. This is a major oversight and should be addressed rather than dismissed as an intentional limitation. I strongly urge Microsoft to reconsider this and provide a proper way for add-ins to function regardless of the reading pane's status. |
We are unable to reproduce this issue.
|
|
Description:
I'm experiencing an issue with the Office API in Outlook. If the reading pane is disabled,
Office.context.mailbox.item
isundefined
, preventing the add-in from functioning correctly.Steps to reproduce:
Office.context.mailbox.item
from an add-in.undefined
.Expected behavior:
Office.context.mailbox.item
should be populated regardless of the reading pane's state.Actual behavior:
If the reading pane is disabled,
Office.context.mailbox.item
isundefined
, making it impossible to interact with the email content.Additional Notes:
It seems that the object is only populated when the reading pane is enabled. It would be helpful to have a way to access email data even when the reading pane is disabled.
The text was updated successfully, but these errors were encountered: