I have a SharePoint site collection with several additional sites, each of which has its own document library. Now I want to add file extensions to the document names in all of these libraries. How should I do it?
I saw tips that tell you to change the onet.xml file, but they never look like me, and besides, I don’t know exactly what happens with this inet.xml file - does it change existing libraries? Other tips tell me to use the SharePoint constructor, which would mean I have to do this for every view in every library, right? Therefore, I would prefer to do this from code, where I feel more comfortable and can automate the process.
So, all I want is to replace "Name (associated with the document with the editing menu)" with "Name (for use in forms)", but at the same time keep the link and the editing menu. I found that I need to use the FileLeafRef field, but I do not know how to do this.
source
share