Given the number of legacy applications developed as COM and VSTO add-ons, it's hard for me to believe that Microsoft will give up support over the next 10 years.
For me, the most important differences of one approach from another:
Office Add-Ins / VSTO Office
- Access to the complete object model
- Local interaction with the machine, for example. file system
- Available on Windows since 2007
Office JavaScript Add-ins
- Portable between Windows, OS X, iOS, etc. (but not complete, but still)
- Easy integration with online services.
- Simple distribution, no need to worry about installers.
In your case, I asked myself the following questions:
- Will there be support for platforms other than Windows in the future? > JavaScript API
- Are the requirements of the current JavaScript API implementation consistent?
source share