I'm trying to find out how to change the file extension of a file in a document library in SharePoint, so that a newer version with a different extension can be uploaded without a separated copy being created (e.g. suppose I want to replace a .doc file with .zip).
Looks like you can write some codes to workaround but I feel there's gotta be a simpler way to do a simple task like this.
You can also do it by right-clicking on the unopened file and clicking on the “Rename” option. Simply change the extension to whatever file format you want and your computer will do the conversion work for you.
1) Navigate to the SharePoint Library where you wish for the file extension to be visible. 2) From the top navigation ribbon, click the Library Tab then click on the Modify View Button. 4) Set the positioning of the column by selecting the appropriate positioning number. 5) Click OK when done.
SharePoint page: ASPX. If Office Online Server is installed, document preview can be shown in modern document libraries for these file types: Acrobat (PDF), PowerPoint (POTM, POTX, PPSM, PPSX, PPT, PPTM, PPTX), Rich Text (RTF), Word (DOC, DOCM, DOCX, DOTM, DOTX).
Open the xls file in Excel, convert it there and save it to your desktop. Now open your SharePoint library where the tracked document resides and select Open in Explorer. In the Explorer window you can rename the document adding the x to the end of the file extension changing it from xls to xlsx.
You could change the extension by opening the library in windows explorer.
Actions - Open In Windows Explorer
Then ensure that in your file view settings you don't have 'Hide Extensions for known file types' enabled.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With