Coder Social home page Coder Social logo

Comments (8)

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

Please confirm if it is old Oulook or new Outlook in windows? You can check through this toggle present in Outlook desktop on right hand side top corner:
image

Also, please share the repro video as we are not able to repro the issue at our end.

from office-js.

mailchecktool-admin avatar mailchecktool-admin commented on August 10, 2024

I am using the “old Outlook”.
I took a video in my local environment, check it out.
レコーディング-20240607_154855.webm

from office-js.

mailchecktool-admin avatar mailchecktool-admin commented on August 10, 2024

@akagarwa-msft
I have attached a reproduction video, have you checked it?
I look forward to hearing back from you as soon as possible.

from office-js.

mailchecktool-admin avatar mailchecktool-admin commented on August 10, 2024

@akagarwa-msft @exextoc
Have you had a chance to review the information I shared previously? If you're unable to replicate the issue, we can gather the necessary data and provide it to you. Please let us know the results of your investigation.

from office-js.

millerds avatar millerds commented on August 10, 2024

Sorry for the large delay in responding. Can you clarify what you are doing on the classic outlook rich client to view the issue? The repro says "Open the Developer Tools" . . . but since this isn't a browser the devtools aren't just a menu away.

from office-js.

millerds avatar millerds commented on August 10, 2024

Looking a little more closely at your code sample, I realize that you are trying to use localstorage in a launch event. In Win32 launch events run in a JS runtime and don't have browser things like localstorage whereas when you are running the add-in in OWA there are browser features available to you. This has nothing to do with the getAttachmentsAsync itself, but rather how you are trying to use it. You should look at the asyncResult object directly in the callback to do anything with the attachments.

see: https://learn.microsoft.com/en-us/javascript/api/outlook/office.appointmentcompose?view=outlook-js-preview&preserve-view=true#outlook-office-appointmentcompose-getattachmentsasync-member(1)

from office-js.

mailchecktool-admin avatar mailchecktool-admin commented on August 10, 2024

@millerds
The reason for using local storage this time is that the console could not display the getAttachmentsAsync value when sharing information with the Outlook client.
This add-in does not originally use local storage, so I don't think it is relevant.
I am sorry, but could you please tell us how exactly to implement this so that we can see the getAttachmentsAsync values that you want?

from office-js.

millerds avatar millerds commented on August 10, 2024

Upon further inspection, it looks like you are using the old "ItemSend" event and not the new "launch events". The older event runs slower but does use the HTML sandbox, so those extra things are available (even if they do complicate the code).

Trying out the API in a simple taskpane scenario reproduces the issues with .msg files specifically in a compose window that hasn't been saved and re-opened (either through sending or saving as draft). We'll look into fixing this, but we cannot comment on a timeline.

internal tracking id: 9217103

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.