AppDomains element
Lists any domains, in addition to the domain specified in the SourceLocation
element, that your Office Add-in will use and that should be trusted by Office. This enables pages in the domains to make calls to Office.js APIs from IFrames within the add-in and has other effects. For each additional domain, specify an <AppDomain> element.
Add-in type: Content, Task pane, Mail
Syntax
<AppDomains>
<AppDomain>AppDomain1</AppDomain>
<AppDomain>AppDomain2</AppDomain>
</AppDomains>
Important
There are restrictions on what can be the value of a <AppDomain> element. For more information, see AppDomain.
Contained in
Can contain
Remarks
By default, your add-in can load any page that is in the same domain as the location specified in the SourceLocation element. This element can't be empty.
GitHub에서 Microsoft와 공동 작업
이 콘텐츠의 원본은 GitHub에서 찾을 수 있으며, 여기서 문제와 끌어오기 요청을 만들고 검토할 수도 있습니다. 자세한 내용은 참여자 가이드를 참조하세요.
Office Add-ins