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">
<type name="WIPRecordsLocation.WIPRecordsLocation" />
<importErrorMessage>Cannot import this Web Part.</importErrorMessage>
<property name="AllowEdit" type="bool">True</property>
<property name="ChromeType" type="chrometype">Default</property>
</properties> </data> </webPart> </webParts>]]>
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.