Aug 24 2016 11:25 AM
Background:
I'm a hobbyist developer, and I've been spending some of my copious free time working on a Word add-in. I got it working nicely on Windows Office 2016, but when I try to side-load it on Office for Mac, it does not work. Even on Mac the web page displays fine, but all Jquery calls to a PHP webservice fail.
Two questions:
1. Given that the add-in fails on a mac without any error messages, I'm not sure what is wrong. What are the typical problems faced when trying to make a working Windows Office add-in work on a mac?
2. Is there an easy way to debug Office add-ins for Mac? I've tried setting up Vorlon.js as described here (https://blogs.msdn.microsoft.com/mim/2016/02/18/vorlonjs-plugin-for-debugging-office-addin/) but I must be daft because I can't get it to work. I can get Vorlon installed and running, but I can't get the Office plug-in to work. I don't know why.
Aug 24 2016 01:25 PM
Aug 24 2016 11:18 PM
Juan Carlos,
Thanks. They indeed introduced Office add-in support for Mac recently[1], so it is supposed to be working. As I said, I can even install the add-in and see the html page, but scripts calling a PHP webservice seem to fail but I don't know why.
[1] see e.g., https://dev.office.com/docs/add-ins/word/word-add-ins that refers to Office for Mac
Aug 25 2016 12:16 AM
Sep 22 2016 04:55 AM
Hello, Kindly let me know if the issue is resolved for you. Because I am also facing the similar issue.
My add in works perfectly fine in Windows10 but when I upload the manifest file under com.microsoft.word/Documents/wef directory in mac os x (I am using EI Captian), I can see the Add-ins in word , and I am able to choose my add-in. My Add-in loads perfectly fine in Mac also and I am able to navigate to home.html and able to execute the custom login functionality. As part of the app functionality I need to call getFileAsync method. In Mac it fails and it does not show any error or it does not show anything in the logs. I tried to setup Vorlon but when I launch the web app from browser its able to connect to Vorlon (it show the client in dashboard), but when I trigger the app from within the word (by clicking the Add-ins button) Vorlon is not picking the client. Is there an easy way to debug the app, as it works perctly fine in Windows. I need to make sure the office Api's should run properly in mac.
Please let me know if you have any pointers on this. Thanks.
Oct 20 2016 04:44 AM
Finally I was able to fix this issue myself. I used Office.FileType.Compressed for getFileAsync method. In mac, Office.FileType.Pdf is not working(but works in windows) and it throws internal error. The compressed one will give the response as docx format.