Monday, January 11, 2010

creating lists in sharepoint wss 3.0, vseWss 1.3

Good information on creating lists and custom lists here:

http://blog.myitechnology.com/2009/06/how-to-create-list-templates-and-list.html

Also about the error that you may receive:

http://blog.myitechnology.com/2009/06/fixing-feature-guid-for-list-template.html

But the best way is, you create all the lists using SharePoint and then reverse engineer it using 'spshource' - some information on how to: http://www.dotnetmafia.com/blogs/dotnettipoftheday/archive/2009/05/04/my-first-experience-with-spsource.aspx

Using SolutionGenerator has following disadvantage:
> For every ListTemplate or Instance etc, it creates a separate feature. You want to have one feature for your project/site that can install everything. Creating multiple features may not be desired in many cases like this.
> The lookup fields were not maintained in the schema.xml

Remember when you add a lookup field in sharepoint, it has to be of type 'Single Line Text'. You can not use Number of Multi-line text or rich text as the Lookup field.

No comments:

Post a Comment