Hello @parwaze sadool ,
By default, if you add the “Attachments” column to your list views, you get a column that only shows a paperclip icon (see below) if there are any attachments. Clicking that paperclip also won’t open any attachment or the list item to view them. It’s strictly an image.
You can refer to the following steps to achieve the "Display attachments name and click name can open the files in List View".
Step1: Copy and paste this code into a new file in your Site Assets folder as showAttachments.js
Note: If you do not see Site Assets on the Site Contents page, please go to the Site settings to enable “Wiki Page Home Page” feature.
Step2: Go to the specific List >> click on Edit page
Step3: On the editing page, add a Content Editor web part
Step4: Edit Web Part >> paste the URL to the script you saved earlier in the Content Link box>> expand “Appearance” and set Chrome Type to “None” >> click OK
Step5: Save the page/stop editing.
Effect Figure:
Thanks,
Echo Du
===================
If an Answer is helpful, please click "Accept Answer" and upvote it.
Note: Please follow the steps in our documentation to enable e-mail notifications if you want to receive the related email notification for this thread.