1

I am creating a PowerPoint Office-Js addin solution that depends on a native MacOS app running on the same system, which can be launched using a custom URL scheme (e.g. MyApp://doSpecificAction).

When I try to open that URL in a browser on MacOs, I get a confirmation prompt then the native app opens successfully. When I try to open the same URL from within the add-in, it doesn't work. Are there certain permissions that I need, and how to do that?

AZ007
  • 25
  • 5
  • Please specify what "doesn't work" means. Do you get an error message? In the console, maybe? I suspect that you can't have a custom protocol. It probably has to be HTTPS. – Rick Kirkham Mar 30 '20 at 04:52
  • @RickKirkham it doesn't look like anything is happening or getting logged in the console. I am registering the URL with my Appname:// rather than HTTPS so that it opens my app.. – AZ007 Apr 01 '20 at 15:09
  • You could try putting the URL in the [AppDomains](https://learn.microsoft.com/en-us/office/dev/add-ins/reference/manifest/appdomains) section of the manifest; but I don't think that's going to work. The WebView control that hosts Office add-in's is sandboxed in a number of ways, so it can't do everything that can be done in the standalone browser. – Rick Kirkham Apr 01 '20 at 18:35

0 Answers0