title: How to run Add-In Command
body: <p>I'm trying to create an Add-In Command that will run in Word Online. I think I'm having trouble because the Microsoft documentation is not up to date.</p>
  <p>I'm using these 2 articles:</p>
  <ul>
  <li><a href="https://docs.microsoft.com/en-us/office/dev/add-ins/quickstarts/word-quickstart?tabs=yeomangenerator" rel="nofollow noreferrer">https://docs.microsoft.com/en-us/office/dev/add-ins/quickstarts/word-quickstart?tabs=yeomangenerator</a></li>
  <li><a href="https://docs.microsoft.com/en-us/office/dev/add-ins/develop/create-addin-commands" rel="nofollow noreferrer">https://docs.microsoft.com/en-us/office/dev/add-ins/develop/create-addin-commands</a></li>
  </ul>
  <p>In the yeoman generator, I selected React Addin and Word.</p>
  <p>The current version of the yeoman generator creates a manifest.xml that already contains the <code>&lt;VersionOverrides&gt;</code> information, <code>commands</code> and <code>taskpane</code> folders (The documentation says VersionOverrides must be manually added).</p>
  <p>I think all I need to do to call the generated Add-In Command code is replace the Taskpane action in the manifest with:</p>
  <pre><code>&lt;Action xsi:type=&quot;ExecuteFunction&quot;&gt;
      &lt;FunctionName&gt;action&lt;/FunctionName&gt;
  &lt;/Action&gt;
  </code></pre>
  <p>But it doesn't work. Can someone please explain where I went wrong?</p>