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.
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?
Thanks. They indeed introduced Office add-in support for Mac recently, 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.
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.
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.