Word Add-in in javascript

damini patel 1 Reputation point
2021-08-14T13:54:13.613+00:00

Hello,

I create my first-word add-in in javascript API. it works perfectly when I debug my visual studio but after saving the document, and I open this document it will show me the error below:

This add-in is no longer available: add-ins inserted during development are only available during debugging from Visual Studio.

I tried it manually.

For Example, File->Info->Inspect Check for Issues -> Inspect Document -> Inspect.

Then on "Task Pane Add-ins" click Remove All.

But I am looking for code for this one so whenever I save the file it will automatically inspect the document without following the above step.

Is this possible in word add-in javascript API? please help me for this.

Thank you,
Damini

JavaScript API
JavaScript API
An Office service that supports add-ins to interact with objects in Office client applications.
897 questions
Office Development
Office Development
Office: A suite of Microsoft productivity software that supports common business tasks, including word processing, email, presentations, and data management and analysis.Development: The process of researching, productizing, and refining new or existing technologies.
3,557 questions
{count} votes

2 answers

Sort by: Most helpful
  1. Rick Kirkham 261 Reputation points Microsoft Employee
    2021-08-17T20:04:42.767+00:00

    Try deleting the Office cache: clear-cache

    0 comments No comments

  2. MARCO AZEVEDO 1 Reputation point
    2022-10-06T18:40:30.753+00:00

    Hi there,

    I'm in my journey to learn Word Add-in development too.
    To test and debug I created a network shared folder following the official documentation below:
    https://learn.microsoft.com/en-us/office/dev/add-ins/testing/create-a-network-shared-folder-catalog-for-task-pane-and-content-add-ins

    I hope it helps!
    Happy Coding!

    0 comments No comments