We have an Excel 365 Add-In, which is using Document.getFileAsync (because it is the only way to access the complete spreadsheet, without requiring the user to select it).
This API is not available in Desktop Excel (neither 2013 nor 2016).
How we are supposed to handle the MS complaint on Office Store certification, that the App is not running in Desktop Excel?
Is it enough to include
<Requirements>
<Sets>
<Set Name="File" />
</Sets>
<Methods>
<Method Name="Document.getFileAsync" />
</Methods>
</Requirements>
in the manifest?
Testing shows that Excel is ignoring this options (at least when the manifest is coming form a local folder).
Or are we supposed to implement a second code path (with a different UI), that requires the user to select the complete spreadsheet, so that we can export it via getDataAsync for Desktop Excel?
How can find out, if we are embedded in Excel Desktop or Excel Online?