I posted an answer to just this yesterday. Here is that post.......
=============
That is going to take some doing. Type, as it is in the document library
specification is a "calculated" or a "compound" column SharePoint uses for
all kinds of neat things. One of the bits on information in this compound
column is its file type. You can't get at this column by default to filter
or group on it. If you need to do this you will have to open the ONet file
(ALL development precautions must be followed here) and find the BaseType
definition for Document Libraries. Look for this:
<Field Type="Computed" ReadOnly="TRUE" Name="DocIcon" DisplayName="Type"
TextOnly="TRUE" ClassInfo="Icon" AuthoringInfo="(icon linked to document)" >
<FieldRefs>
<FieldRef Name="File_x0020_Type"/>
<FieldRef Name="FSObjType"/>
<FieldRef Name="FileRef"/>
<FieldRef Name="HTML_x0020_File_x0020_Type"/>
......
well it keeps going for a bit with the patterns but you can see how it gets
those values in there. Lets make that a column you can work with.
Open up the Schema for the Document library list definition you want to use.
in the Fields elements add in something like:
<Field Type="Text" Name="File_x0020_Type" ShowInNewForm="FALSE"
ShowInFileDlg="FALSE" DisplayName="FileExt" Sealed="TRUE"></Field>
Save and IISRESET. If you edit a view you should now have a column called
FileExt that you can filter on.
"Shane Jenks, EDS PLM" <shane...@ugs.com> wrote in message
news:4087C10A...@ugs.com...