ByExtension Element (Document Icons)

Last modified: March 09, 2015

Applies to: SharePoint Foundation 2010

Defines icons for documents according to their file name extensions.


<ByExtension>
</ByExtension>

Attribute

Description

None

N/A

Minimum: 0

Maximum: Unbounded

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.

See DocIcons Element (Document Icons) for an example that shows how to use the ByExtension element.

Show: