Coder Social home page Coder Social logo

Comments (9)

akagarwa-msft avatar akagarwa-msft commented on August 10, 2024 1

Can you try your scenario with script lab Add-in sample? Also, what happens if you use displayMessageFormAsync API with the itemId fetched using itemId office js API? Does it work?

from office-js.

ccfontes avatar ccfontes commented on August 10, 2024

Tried the scenario using script lab Add-in, in Outlook for desktop. The same issue happens, but this time I logged the error correctly:
Screenshot 2024-06-13 at 15 28 22

Also, what happens if you use displayMessageFormAsync API with the itemId fetched using itemId office js API?

If you mean using this Office.context.mailbox.item.itemId, yes it works. Unfortunately in the problem scenario, the item Id does not necessarily correspond to the selected message in Outlook UI - it can be any message in all mailboxes.

Message id example in Outlook for desktop:

[Log] Rest item Id AAkALgAAAAAAHYQDEapmEc2byACqAC-EWg0AMhi5ULOYEUqlx5SG0i8znQAAfAaOggAA
[Log] EWS item Id  AAkALgAAAAAAHYQDEapmEc2byACqAC/EWg0AMhi5ULOYEUqlx5SG0i8znQAAfAaOggAA

A reminder that a window with the message is opened in Outlook web version, without issues.

from office-js.

ccfontes avatar ccfontes commented on August 10, 2024

Anyone able to reproduce this issue? Thanks.

from office-js.

Swathy-Mothilal avatar Swathy-Mothilal commented on August 10, 2024

@ccfontes Unfortunately, we are unable to reproduce the issue. We can open the message using both EWS and REST IDs. Could you please share the manifest you are using when you experience the issue? This will help us debug more effectively

from office-js.

ccfontes avatar ccfontes commented on August 10, 2024

@Swathy-Mothilal, thank you for looking into this issue, and apologies for the frustration it might be causing.

Before considering sharing the manifest which features some sensitive data, could you please confirm that you tried to repro the issue using Mac + Outlook for Desktop? Thank you!

from office-js.

Swathy-Mothilal avatar Swathy-Mothilal commented on August 10, 2024

@ccfontes Yes, we attempted to reproduce the issue on both Mac and Outlook for Desktop. Could you please share a lightweight manifest that only includes the issue, or upload the manifest to a private repository and grant us access?
A repro video also would be really helpful.

from office-js.

ccfontes avatar ccfontes commented on August 10, 2024

@Swathy-Mothilal Thanks for your confirmation.

I'm confused by the request for a lightweight manifest that only includes the issue, as I have mentioned previously that I called displayMessageFormAsync from within script lab add-in in Outlook for Desktop (Mac), and failed. So the issue is unrelated to my specific app, including its manifest.

I will try again within script lab add-in, because it was a long time ago, and I may have missed something. Also will try the same in Office Web to be sure it's the right test. If the issue remains, I will show the snippet, and a demo video.

from office-js.

microsoft-github-policy-service avatar microsoft-github-policy-service commented on August 10, 2024

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.

microsoft-github-policy-service avatar microsoft-github-policy-service commented on August 10, 2024

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)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.