Hello I tried to use the solutions you propose, but I have a problem.
When I use "ColumnName_UDT_Original" the link created is incorrectly.
Foreword. I have a "Form and list" with a field called FileX type "Downloads".
This field usually contains a pdf file, which users freely download site. So far everything works well.
The problem comes from the use of the feature "Tracking the number of times this link has-been clicked?"
In practice the file link generated aspx page uses the "LinkClick", that inside as well as redirect the file to download,
carries out the counting of clicks made.
I performed some tests and I understood where the problem arises.if the xslt file using the field name "FileX" is created by the entire html code for the link is the download count works. I will give you the html code working.
When I use "ColumnName_UDT_Original" the link created is incorrectly.Here is the code
<a target="_blank" href="/LinkClick.aspx?fileticket=u6K1Q_UuptM%3d&amp;tabid=334&amp;mid=857&amp;language=it-
IT">Download the File</a>
You can see that is generated in the second code in the querystring immediately after "&" another string "amp;".
This fact allows the download of files, but also defeats the count of downloads.
Have a suggestion?