SourceLocation element
Specifies the source file locations for your Office Add-in as a URL between 1 and 2018 characters long. The source location must be an HTTPS address, not a file path.
The source location can be any website, and you can organize the files at that domain in any directory structure you want. Typically, all the files in the add-in, except the manifest, are deployed to the source location. For a single-page application, there is usually one file. You can host image or other supplementary files on a CDN, or other domain, provided that you register the domain with an AppDomain element.
Add-in type: Content, Task pane, Mail
Syntax
<SourceLocation DefaultValue="string" />
Contained in
- DefaultSettings (Content and task pane add-ins)
- Form (Mail add-ins)
Can contain
Attributes
Attribute | Type | Required | Description |
---|---|---|---|
DefaultValue | URL | Yes | Specifies the default value for this setting for the locale specified in the DefaultLocale element. |
GitHub에서 Microsoft와 공동 작업
이 콘텐츠의 원본은 GitHub에서 찾을 수 있으며, 여기서 문제와 끌어오기 요청을 만들고 검토할 수도 있습니다. 자세한 내용은 참여자 가이드를 참조하세요.
Office Add-ins