OfficeDev / office-js-docs-reference

Microsoft Office JavaScript API Reference
https://learn.microsoft.com/javascript/api/overview
MIT License
117 stars 67 forks source link

clarification on requirements API #1523

Closed theboyknowsclass closed 1 year ago

theboyknowsclass commented 1 year ago

is this:

[API set: SharedRuntime 1.1, Mailbox 1.10](https://learn.microsoft.com/en-us/office/dev/add-ins/reference/javascript-api-for-office)

mean that BOTH SharedRuntime 1.1 and Mailbox 1.10 are needed... or EITHER

if BOTH does that mean this API is restricted to Outlook?


Document Details

Do not edit this section. It is required for learn.microsoft.com ➟ GitHub issue linking.

AlexJerabek commented 1 year ago

Hi @theboyknowsclass,

Thanks for raising this issue.

This feature was originally created for Custom Functions for Excel, so it only requires the SharedRuntime 1.1 requirement set there. Given that Shared Runtime is only supported by Excel, Word, and PowerPoint, I think it's safe to assume either SharedRuntime 1.1 or Mailbox 1.10 is needed.

Let me assign this to @samantharamon to clarify the documentation and provide more context if needed.

samantharamon commented 1 year ago

Hi @theboyknowsclass,

Thanks again for reaching out about this. We've clarified the documentation in DefinitelyTyped/DefinitelyTyped#64872. This issue will automatically close once the change is merged. If you need additional help, please don't hesitate to open a new issue on GitHub.