Coder Social home page Coder Social logo

Comments (7)

davidchesnut avatar davidchesnut commented on July 29, 2024

Hi @EthanVaz , it looks like the documentation is showing the wrong code for the API. I'm doing some more research to confirm. In the meantime you could try the following code to update the ribbon as shown in this sample

// @ts-ignore
  OfficeRuntime.ui
    .getRibbon()
    // @ts-ignore
    .then(ribbon => {
      ribbon.requestUpdate({
        tabs: [
          { ...

Thanks,
David

from office-add-in-samples.

EthanVaz avatar EthanVaz commented on July 29, 2024

Tried and still the same error.

from office-add-in-samples.

davidchesnut avatar davidchesnut commented on July 29, 2024

Hi @EthanVaz Okay, I am able to reproduce this error if I introduce minor bugs in the manifest. For example, if <FunctionFile...> is not using the shared runtime you will see this error. Is it possible to share your manifest by posting it on your GitHub account somewhere? Or if you can share the add-in code I could try to repro the behavior from your code. Thanks!

from office-add-in-samples.

EthanVaz avatar EthanVaz commented on July 29, 2024

I need some time to upload my sample. Meanwhile, can you let me know the changes in the manifest which reproduced the error? Maybe I can try it and fix my issue.

from office-add-in-samples.

davidchesnut avatar davidchesnut commented on July 29, 2024

Hi @EthanVaz , sorry for late reply. You can see an example of a manifest using shared runtime here. Also the steps for configuring your manifest are in Configure your Excel add-in to use a shared JavaScript runtime. Thanks!

from office-add-in-samples.

msftbot avatar msftbot commented on July 29, 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-add-in-samples.

msftbot avatar msftbot commented on July 29, 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-add-in-samples.

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.