Coder Social home page Coder Social logo

Comments (3)

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

@KurtLa This is expected. You are trying to modify the body in a MessageReadCommandSurface.
You need to modify the body in MessageComposeCommandSurface,

For more details as to how you can modify the mail item, see the example below

https://learn.microsoft.com/en-us/office/dev/add-ins/tutorials/outlook-tutorial

from office-js.

KurtLa avatar KurtLa commented on August 10, 2024

Hey @ajays-msft,
Thank you very much for taking the time.

There might be a misunderstanding on my part, but what I aim to achieve includes things like:

  • Receiving an email
  • clicking on my addin,
  • then:
    highlighting certain words in yellow
    adding text fragments
    commenting on things
    etc.

For example i receive an email:

Hi,
please complete task xxx by Friday.

After clicking my addin:

Hi,
please complete task xxx by Friday.
-- AddIn Note: 4 tasks due by Friday. Click ([here] for accept) or ([here] for reject).

When I change it to MessageReadCommandSurface, I can only activate my addin in "Write new mail / reply / ..." scenarios.

Therefore, I need the ability to manipulate the visible body in the read window. I want to do this inline and not open a new window. My email example is quite basic, but a real-world email can be complex and longer. It doesn't need to be saved permanently, just make the changes on demand.

from office-js.

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

@KurtLa

Unfortunately this is not possible with the current office js capabilities.

If you think this support is essential, please feel free to create a feature request.
We track Outlook add-in feature requests on ourTech Community Page. Please submit your request there and choose the appropriate label(s). Feature requests on Tech Community are considered, when we go through our planning process

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.