2

For SharePoint (2007/2010) if I want to build custom UI to render a Document Library (pretty it up a bit), is there a field on a Document Library SPListItem that tells me the link to the document icon? For example, when I display an Excel file, the little Excel graphic is shown? If not available on the SPListItem as a field, is there a way to access it through some standard API?

1

This is the chap you want:

http://msdn.microsoft.com/en-us/library/microsoft.sharepoint.spfile.iconurl.aspx

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.