ByExtension element (Document Icons)
Applies to: SharePoint 2016 | SharePoint Foundation 2013 | SharePoint Online | SharePoint Server 2013
Defines icons for documents according to their file name extensions.
<ByExtension>
</ByExtension>
Elements and attributes
The following sections describe attributes, child elements, and parent elements.
Attributes
None
Child elements
Parent elements
Occurrences
- Minimum: 0
- Maximum: Unbounded
Remarks
This element is used in the DocIcon.xml file to drive mapping between file extensions and their corresponding document library icons.
If you want the document library feature to support a new file extension, add the extension to a ByExtension section, and then restart the server.
For an example that shows how to use the ByExtension element, see DocIcons element (Document Icons).