SourceLocation element (version overrides)
Defines the location of a resource needed by the following elements.
- <Script> or <Page> elements used by custom functions in Excel
- <ReportPhishingCustomization> element, <DetectedEntity> extension point, <LaunchEvent> extension point, or <Module> extension point in Outlook.
Important
This article only refers to the <SourceLocation> that is a child of the following:
- <Page>, <Script>, or <ReportPhishingCustomization> elements
- <DetectedEntity>, <LaunchEvent>, or <Module> extension points
For information about the <SourceLocation> element of the base manifest, see SourceLocation.
Add-in type: Custom function, Mail
Valid only in these VersionOverrides schemas:
- Taskpane 1.0
- Mail 1.1
For more information, see Version overrides in the add-in only manifest.
Associated with these requirement sets:
Contained in
- ExtensionPoint (DetectedEntity, LaunchEvent, and Module mail add-ins)
- Page
- ReportPhishingCustomization (Mail add-ins)
- Script
Attributes
Attribute | Required | Description |
---|---|---|
resid | Yes | The name of a URL resource defined in the <Resources> section of the manifest. Can be no more than 32 characters. |
Child elements
None.
Example
<SourceLocation resid="pageURL"/>
Collaborate with us on GitHub
The source for this content can be found on GitHub, where you can also create and review issues and pull requests. For more information, see our contributor guide.
Office Add-ins