locked
PDF Icon in announcement lists RRS feed

  • Question

  • I added the following line in the DOCICON.XML file and I get the PDF icon in my document lists, but not in Announcement lists that have a file attached or uploaded as a PDF.

    <Mapping
    Key="pdf" Value="icpdf.png" OpenControl=""/>

    PDF attached in announcement list

    enter image description here

    PDF in Document Library

    enter image description here

    I am using SharePoint 2010 Standard.

    Wednesday, January 2, 2013 1:15 PM

Answers

  • The type is shown by "Type" colunm and the “Type"is type of the current item, not the type of attachments of the current item.  The type of item in the Custom List is only an item, not the document. So the “Type” will show the same icon, no matter whether you have uploaded attachments to the item.
    And in case of document libraries, item is "document" so it show "type" of that document.
    • Marked as answer by Jack-Gao Monday, January 7, 2013 2:18 AM
    Wednesday, January 2, 2013 2:40 PM