i have a custom list definition which works fine, i have also made a custom webpart which i would like included on the Allitems.aspx page by default when a list is created from the list definition. I seemingly however cannot get this to happen. is it possible? SharePoint 2007 here.
I've tried adding the following under the Allitems.aspx view in the lsit definitions Schema.xml file.
<AllUsersWebPart WebPartZoneID="Main" WebPartOrder="0">
<![CDATA[
<webParts>
<webPart xmlns="http://schemas.microsoft.com/WebPart/v3">
<metaData>
<type name="WIPRecordsLocation.WIPRecordsLocation" />
<importErrorMessage>Cannot import this Web Part.</importErrorMessage>
</metaData>
<data>
<properties>
<property name="AllowEdit" type="bool">True</property>
<property name="ChromeType" type="chrometype">Default</property>
</properties>
</data>
</webPart>
</webParts>]]>
</AllUsersWebPart>
But it just never appears on the page even after iisresetting and creating a new list based on my list definition file.
Any help greatly appreciated.