Show file extension in a SharePoint document library
- Gérald Barré
By default, document libraries do not show file extensions. You have to look at the icon to guess the kind of document. However, multiple extensions can have the same icon. So, it could be useful to display the extension.
- Open SharePoint Designer
- Edit the document library view
- Right-click on the file name and select "Edit Formula"
- Use the following XPath expression
- Save changes
Do you have a question or a suggestion about this post? Contact me!
Enjoy this blog?💖 Sponsor on GitHub