i want to copy the list structure from one website to a new one and make a feature which when activated will make the same list structure in the other website.can anyone plz tell me how to do this
As you want to do this programmatically thru a feature you will have write the XML Structure of the list and this blog will help you doing that quickly: www.andrewconnell.com/.../...t-List-Templates.aspxAlso consider using Visual Studio Extensions for WSS to create a feature to provision Sharepoint List, following blog can guide you: sharepoint.microsoft.com/.../Post.aspx%2Dd146%2D408b%2D87b3%2D31810794a8e4&ID=3
i will suggest , that u must use feature event handler and , have definition for the list , when feature is activated , then write the code to create the same strutre , using the template of the list and site
create list templates either using stp or programmatically using feature activate this list structure...put that feature defination into site definations
I can see 3 options:- develop such tool that exports list structure to XMl file and then and creates a list by the xml file structure.- Export and import the list by using SharePoint Designer web package - office.microsoft.com/.../...ckage-HA010081923.aspx- use 3rd party tool like tsunami - http://www.tzunami.com/Pages/default.aspx