Monday, June 30, 2008 11:27:04 PM UTC #

Quick link: http://www.codeplex.com/SharePointPdfIcon

 

This is possibly the most important customization you can make to SharePoint. OF ALL TIME.

By default, SharePoint does not include a PDF icon. When you upload a PDF to SharePoint, you see:

 image

This is unacceptable!

Manually adding the PDF icon

I'm not here to tell you how to manually add the PDF icon to your SharePoint farm. Steven Van de Craen already does an excellent job, so I'll just link to him.

But manually adding a PDF icon? So 2006-2007. We're in 2008 people, let's get with the times.

Programmatically adding the PDF icon

Recently Steve Goodyear from Microsoft posted step-by-step details of how to programmatically add a PDF icon to your farm. Which is great.

What Steve did not do, however, was go the extra step and provide a working .WSP file.

Ok. At this point you're asking yourself: "Well Peter, since you're not bothering to tell me how to manually add a PDF icon, and you're not going to tell me how to do it programmatically, then why are we here?"

Introducing the most awesome SharePoint Solution package ever

Introducing: the PDF Icon installer!

image

I've developed a Solution package to change the dreary, dull, blank icon, to a dynamic, Web 2.0, hot hot hot PDF icon!

Feedback

If something is terrible, let me know and I'll fix it. Issues/Discussion page on the CodePlex project page. Or if it's really terrible, email me direct :)

Where to get it

http://www.codeplex.com/SharePointPdfIcon

Categories: SharePoint
Technorati:
Monday, June 30, 2008 11:27:04 PM UTC  #     |  Comments [5]  |  Trackback
Thursday, April 30, 2009 3:13:00 PM UTC
AWESOME!!!!!!! THANK YOU VERY MUCH!!!!!
Cis
Thursday, April 30, 2009 3:15:28 PM UTC
Question, ??
Do you have or know of another blog that will show me how to configure the server to open these PDF's and other file formats into a separate or new window? Thanks again!!
Cis
Thursday, June 04, 2009 2:21:49 PM UTC
Could this method be used for other type of files not recognized by SP? ex: CAD files, Microstation etc...
Greg
Thursday, June 04, 2009 2:49:45 PM UTC
Absolutely it could. SPCore, another project has a static helper function to help you do just that:
http://spcore.codeplex.com/SourceControl/changeset/view/20575#345681

But I've abandoned my PDF icon project. I came to the conclusion a long time ago that the best way to customize a file was NOT through a Feature Receiver, as I mentioned above, but through an MSI-style installer. And there's always the "just manually make the change and document your customizations somewhere" option.

So keep the alternatives in mind.
Peter Seale
Thursday, June 11, 2009 6:32:51 PM UTC
10-4
THanks a lot Peter!
Greg
Name
E-mail
Home page

Comment (Some html is allowed: a@href@title, b, blockquote@cite, em, i, strike, strong, sub, sup, u) where the @ means "attribute." For example, you can use <a href="" title=""> or <blockquote cite="Scott">.  

Enter the code shown (prevents robots):

Live Comment Preview
Syndication

Search
Posts on this page
Categories
Sites I visit regularly
About

Powered by: newtelligence dasBlog 2.2.8279.16125

Disclaimer
The opinions expressed herein are my own personal opinions and do not represent my employer's view in any way.

© Copyright 2010, Peter Seale

Send mail to the author(s) E-mail



Sign In