0

I am trying to create a MS project addin, Following this link, I created a sample addin for Project using yeoman and import the addin, but addin is stuck at "Please sideload your add-in to see app body". It seems Office does not hit the "Ready" state and thus never calling the onReady event/function.

The node version: 14.17.0. OS: Win 10 Project Desktop Client version: 2105 (build 14026.20270) Office.js version: 1.1 Running the app in dev mode with a network share to load the addin.

This is what it looks like in Project. Project

Steps i followed:

  • install yeoman and generate addin for project
  • build and start the app using npm run dev-server
  • shared a directory and place the manifest xml in it
  • started project, enabled my shared folder catalog
  • opened a project and loaded the addin

Is MS Project supported by the addin framework? Has anyone tried it with the new Project? I see no errors in console.

Any suggestion will be highly appreciated. Thanks.

Eugene Astafiev
  • 47,483
  • 3
  • 24
  • 45

1 Answers1

1

It seems your add-in is running in MS Project correctly. You just need to change task pane web page and remove the statement to sideload the add-in. See Task pane add-ins for Project for more information.

Eugene Astafiev
  • 47,483
  • 3
  • 24
  • 45
  • I thought the Office API need to be "Ready" before we can run any api's, is that not the case? – Integ M Jun 27 '21 at 18:10
  • what code did you put into the `onReady` event handler to make sure the add-in works correctly? and how do you expect it should be working? – Eugene Astafiev Jun 27 '21 at 18:33
  • Followed the example from [here](https://learn.microsoft.com/en-us/office/dev/add-ins/quickstarts/project-quickstart) – Integ M Jun 27 '21 at 19:26