How to create SharePoint Site definition with custom lists using WSPBuilder?
I'm using WSPBuilder and I want to create a site definition this site definition contains some custom list definition (some list creates based on "Custom List" template).
The site contains also some files the will copied to _layouts
folder (which I know how to include it the .wsp
file).
My request here is how i can create th开发者_开发问答e site definition and it's onet.xm
l please a feature that creates some lists based on "Custom List", and when i create a site using the site definition it will create all pages and do some stuff through site provisioning class?
Regards.
You could set up the website with the customs lists the way you want it to be in your browser, and use the SharePoint Solution Generator to create the site definition.
Because the SharePoint Solution Generator is part of the Windows SharePoint Services 3.0 Tools: Visual Studio 2008 Extensions, Version 1.2 this method has one drawback: no WSPBuilder-support.
But when you deploy the SharePoint Solution Generator's Solution, you will find all the files you need for WSPBuilder in the /bin/debug directory.
精彩评论