Search code examples
angularms-wordoffice365office-jsword-addins

Shared Folder is missing in the Office My Addin ribbon suddenly in Angular Office Addin Project


I am currently working with an office word addin using Angular, and I had already sideload my office addin as documented in this post. And I was able to add them from the Insert Menu -> My Add-ins ribbon, by opening the Shared Folder menu. My issue is that, all of a sudden the Shared Folder menu is not visible anymore.

enter image description here

Please be noted that I had already tried the refresh button on the right corner. I have also tried sideload the add in again, by creating a new shared folder. But nothing helped. Have you ever faced this issue?


Solution

  • After scratching my head for a few minutes, I was able to fix this. The issue was related to a recent change in the manifest.xml file. In the manifest.xml file, under the Resources section, we have <bt:Urls>, that is where we provide the Urls. Below is the Url which was causing the issue.

    <bt:Url id="Taskpane.Url" DefaultValue="https://localhost:3000">
    

    Please be noted that there is no closing / at the end of this Url. Once I add that to the Url, everything started working fine.

    <bt:Url id="Taskpane.Url" DefaultValue="https://localhost:3000" />
    

    enter image description here

    I believe that, this is something that should be fixed, it should work as it is, even though there is no closing. What do you think?