Hello,
I was wondering if anyone has had any luck in customising the DocIcon field in lists using a custom Fldtypes.xsl as was possible in SharePoint 2010. We have been aiming towards an early 1Q upgrade to SharePoint 2013 for our internal intranet and as most of our libraries do not make the name field visible at the moment it would involve a large amount of work to change all the lists and their documents which is just not all that feasible not to mention user retraining etc.
Just so we don't repeat anything basically I have tried creating a new Fldtypes_DocIcon.xsl from scratch with the standard definition in Fldtypes.xsl and then matching it on the FieldRef[@Name='DocIcon'] and making minor edits which do not display.
I have noticed in the stock file that it has the following 2 lines:
<xsl:when test="$IsDocLib">
<!-- warning: this code has optimization in webpart. Change it must change the webpart code too!-->
What webpart does the second line refer to though as I can't seem to wrap my head around it. Is CAML definitely still used for the DocIcon field or has it changed to JS based code perhaps?
Any help would be greatly appreciated.
Thanks