{"id":287,"date":"2011-06-24T11:33:40","date_gmt":"2011-06-24T18:33:40","guid":{"rendered":"http:\/\/seanism.com\/blog\/?p=287"},"modified":"2011-07-15T12:17:48","modified_gmt":"2011-07-15T19:17:48","slug":"add-a-pdf-icon-to-pdf-documents-in-sharepoint-2010","status":"publish","type":"post","link":"https:\/\/seanism.com\/blog\/2011\/06\/add-a-pdf-icon-to-pdf-documents-in-sharepoint-2010\/","title":{"rendered":"Add a PDF icon to PDF documents in SharePoint 2010"},"content":{"rendered":"<p>By default SharePoint uses a white icon for PDF documents. \u00a0It&#8217;s rather plain. \u00a0To use a PDF icon follow these steps&#8230;<\/p>\n<p><a title=\"PDF Icon\" href=\"http:\/\/seanism.com\/blog\/wp-content\/uploads\/2011\/06\/pdf_icon.gif\" target=\"_blank\"><\/a><a href=\"http:\/\/seanism.com\/blog\/wp-content\/uploads\/2011\/06\/pdf_icon.gif\"><img loading=\"lazy\" decoding=\"async\" class=\"alignleft size-full wp-image-288\" title=\"pdf_icon\" src=\"http:\/\/seanism.com\/blog\/wp-content\/uploads\/2011\/06\/pdf_icon.gif\" alt=\"\" width=\"16\" height=\"16\" \/><\/a> <a href=\"http:\/\/seanism.com\/blog\/wp-content\/uploads\/2011\/06\/pdf_icon.gif\" target=\"_blank\">Download the PDF<\/a> icon to your SharePoint server.<\/p>\n<p>Navigate to\u00a0<strong>C:\\Program Files\\Common Files\\Microsoft Shared\\Web Server Extensions\\14\\TEMPLATE\\IMAGES<\/strong><\/p>\n<p><strong><\/strong>Place the image in the <strong>IMAGES<\/strong> folder and name it icpdf.gif<\/p>\n<p>Edit\u00a0<strong>C:\\Program Files\\Common Files\\Microsoft Shared\\Web Server Extensions\\14\\TEMPLATE\\XML\\DocIcon.xml<\/strong><\/p>\n<p><strong><\/strong>Insert \u00a0<strong>&lt;Mapping Key=\u201dpdf\u201d Value=\u201dicpdf.gif\u201d\/&gt;<\/strong> between the following lines&#8230;<\/p>\n<p>&lt;Mapping Key=&#8221;onetoc2&#8243; Value=&#8221;icont.png&#8221; EditText=&#8221;Microsoft OneNote&#8221; OpenControl=&#8221;SharePoint.OpenDocuments&#8221;\/&gt;<br \/>\n<strong>&lt;Mapping <\/strong><strong>Key=\u201dpdf\u201d Value=\u201dicpdf.gif\u201d\/&gt;<br \/>\n<\/strong>&lt;Mapping Key=&#8221;png&#8221; Value=&#8221;icpng.gif&#8221;\/&gt;<\/p>\n<p>Save the file and restart IIS.<\/p>\n<p>Update: Make sure the quotes are correct when you paste the text into the configuration file.  Compare them with the rest of the quotes in the document.<\/p>\n<p>Source: <a href=\"http:\/\/www.sharepointedutech.com\/2010\/02\/17\/changing-file-associations-icons-in-sharepoint-2010\/\" target=\"_blank\">http:\/\/www.sharepointedutech.com\/2010\/02\/17\/changing-file-associations-icons-in-sharepoint-2010\/<\/a><\/p>\n","protected":false},"excerpt":{"rendered":"<p>By default SharePoint uses a white icon for PDF documents. \u00a0It&#8217;s rather plain. \u00a0To use a PDF icon follow these steps&#8230; Download the PDF icon to your SharePoint server. Navigate to\u00a0C:\\Program Files\\Common Files\\Microsoft Shared\\Web Server Extensions\\14\\TEMPLATE\\IMAGES Place the image in the IMAGES folder and name it icpdf.gif Edit\u00a0C:\\Program Files\\Common Files\\Microsoft Shared\\Web Server Extensions\\14\\TEMPLATE\\XML\\DocIcon.xml Insert \u00a0&lt;Mapping&#8230;<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"jetpack_post_was_ever_published":false,"_jetpack_newsletter_access":"","_jetpack_dont_email_post_to_subs":false,"_jetpack_newsletter_tier_id":0,"_jetpack_memberships_contains_paywalled_content":false,"_jetpack_memberships_contains_paid_content":false,"footnotes":"","jetpack_publicize_message":"","jetpack_publicize_feature_enabled":true,"jetpack_social_post_already_shared":false,"jetpack_social_options":{"image_generator_settings":{"template":"highway","enabled":false},"version":2}},"categories":[3],"tags":[61,94,95,93],"class_list":["post-287","post","type-post","status-publish","format-standard","hentry","category-it","tag-61","tag-iis","tag-pdf","tag-sharepoint"],"jetpack_publicize_connections":[],"jetpack_featured_media_url":"","jetpack_shortlink":"https:\/\/wp.me\/p1vc3H-4D","jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/seanism.com\/blog\/wp-json\/wp\/v2\/posts\/287","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/seanism.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/seanism.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/seanism.com\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/seanism.com\/blog\/wp-json\/wp\/v2\/comments?post=287"}],"version-history":[{"count":7,"href":"https:\/\/seanism.com\/blog\/wp-json\/wp\/v2\/posts\/287\/revisions"}],"predecessor-version":[{"id":292,"href":"https:\/\/seanism.com\/blog\/wp-json\/wp\/v2\/posts\/287\/revisions\/292"}],"wp:attachment":[{"href":"https:\/\/seanism.com\/blog\/wp-json\/wp\/v2\/media?parent=287"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/seanism.com\/blog\/wp-json\/wp\/v2\/categories?post=287"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/seanism.com\/blog\/wp-json\/wp\/v2\/tags?post=287"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}