Docs API Reference

AppDomains element

Lists any domains in addition to the domain specified in the SourceLocation element that your Office Add-in will use to load pages. For each additional domain, specify an AppDomain element.

Add-in type: Content, Task pane, Mail

Syntax:

<AppDomains>
    <AppDomain>AppDomain1</AppDomain>
    <AppDomain>AppDomain2</AppDomain>
</AppDomains>

Contained in:

OfficeApp

Can contain:

AppDomain

Remarks

By default, your add-in can load any page that is in the same domain as the location specified in the SourceLocation element. To load pages that are not in the same domain as the add-in, specify the domains by using the AppDomains and AppDomain elements. This element can't be empty.

For more information, see Office Add-ins XML manifest.