I have developed an Office 365 Outlook Add-in for the web. It's automatically supported in desktop also. I want to disable the app only for the desktop. I guess we need to change something in Manifest file but I couldn't get any clue. Can anyone help me to achieve this??
相关问题
- How to name and reference an Excel range using off
- Setting width of Office add-in task pane
- Office Dialog API send message to child dialog
- Can I sync calendar events with the Microsoft Grap
- Office.js content add-in insertion behavior
相关文章
- Determine if connect-msolservice has already been
- The application named HTTPS://test113.onmicrosoft.
- How to get admin access to files for all user'
- Outlook WebAddin is detected as contextual addin i
- Add excel custom functions to an existing excel ad
- Pop-up blocked error when opening url from outlook
- How can I retrieve the full MIME message from an M
- Office API call to getUserIdentityTokenAsync() ret
Although you cannot limit the platform, you CAN detect the platform that you are on programatically.
https://dev.outlook.com/reference/add-ins/Office.context.mailbox.diagnostics.html
Office.context.mailbox.diagnostics.hostName
Will return Outlook, Mac Outlook or OutlookWebApp.
You could display an error message for the clients you don't want to support. Though this generally goes against a core principle of the platform of "write once, run anywhere"
The Office add-in is aim to cross-platform developing for the Office solution. At present, it doesn't support to limit platform. Here is the specification of “Host“ element which used to specify the Office host application for your reference:
You can refer to here about more detail of host specifying in the manifest. And if you want to the Office add-in to support this feature, you can try to submit the feedback here.