How do I add a custom column to a SharePoint Document Library View
Posted on 2009-12-15
First things first... I'm a SharePoint novice.
I want to create a view in a SharePoint document library that includes a thumbnail view of the documents (doc, xls, pdf, etc).
None (repeat NONE) of the documents in the library will be picture files (jpeg, png, gif, etc.)
I have already written a DLL that implements the IShellFolder interface that creates the thumbnails at any size desired.
How do I create a view against a document library where I can programmatically add the column to the view, then create the thumbnail image (bitmap) from the document and insert it in the proper row/column in the view?? I figure I'd check to see if the thumbnail of the document has been cached (I am going to put them in the _t subfolder of the document folder), create (or update) the thumbnail if necessary, then retrieve the thumbnail image for use in the view. I've seen numerous examples of SharePoint code, but none that work against a user defined view in a document library.
Thanks in advance