AppDomain element

Specifies additional domains that load pages in the add-in window. It also lists trusted domains from which Office.js API calls can be made from IFrames within the add-in.

Add-in type: Content, Task pane, Mail

Syntax

<AppDomain>string</AppDomain>

Important

  1. The value of the AppDomain element must include the protocol (e.g., <AppDomain>https://myappdomain</AppDomain>).
  2. Do not put a closing slash, "/", on the value.

Contained in

AppDomains

Remarks

AppDomain elements should be used to specify any additional domains other than the one specified in the SourceLocation element. For more information, see Office Add-ins XML manifest.