none
Attachments in Listview

    Question

  • Hi,

    i am searching a solution to display the attachments in  view in a webpart.

    I wanted to manage files, connecting them to a customer. The i made list where i can make a new element and the add a file like a word document. But after it has been saved, there is only a paperclip appearing in the list view, and i cannot click on it/open it.

    Is there way to make this working?

    Thx und Greetings

    stefan

    Tuesday, May 10, 2016 3:37 PM

All replies

  • The below solution will show the attachment as a link in the list view, below is authored for SP 2010, but it should work for SharePoint Online ListView webpart.

    http://amitphule.blogspot.in/2012/04/display-item-attachments-in-sharepoint.html

    You can also achieve with the help of Client Side Rendering/JSLink


    ---
    Rajesh
    rjesh.com| @rjesh
    You don't need to buy me a beer, if helpful just smile, vote, and mark it as answer.

    Saturday, May 14, 2016 1:56 PM
  • Hi Stefan,

    You can use the OOTB Content Search Web Part and use your own display template to show the attachments. Here is a link on how to use CSWB.

    https://support.office.com/en-us/article/When-to-use-the-Content-Query-Web-Part-or-the-Content-Search-Web-Part-in-SharePoint-346a0f48-38de-409b-8a58-3bdca1768929?ui=en-US&rs=en-US&ad=US

    Mike


    mike maadarani

    Monday, May 16, 2016 7:28 PM