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

Microsoft 365 and Office Development Office JavaScript API
Microsoft 365 and Office Development Other
{count} votes

2 answers

Sort by: Most helpful
  1. Rick Kirkham 281 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

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.