Import List Definition

Imports a list form the local SharePoint farm as list definition into Visual Studio.

Arguments

Name Description
List Template Settings
Name Required Text. Specifies the internal name of the list definition. No spaces or special characters can be used. This name is also used to find the folder that contains the Schema.xml file that defines the schema in use.
DisplayName Required Text. Specifies the display name of the list definition.
Description Optional Text. Provides a description of the list definition.
Type Optional Integer. Provides a unique identifier for the template. This identifier must be unique within the feature, but need not be unique across all feature definitions or site definitions.
Category Optional Text. Specifies the category with which to associate lists created through the list definition.
Sequence Optional Integer. Specifies the ordering priority to use for the list template on the Create page. If Sequence is not set, the template appears last in arbitrary order with any other templates that also lack a Sequence value. Two templates that specify the same sequence are sorted together in an arbitrary order.
Options
Default in new sites Optional Boolean. TRUE to specify that new SharePoint sites will include this list.
OnQuickLaunch Optional Boolean. TRUE to display lists created from the list definition on the QuickLaunch bar.
DisableAttachments Optional Boolean. TRUE to specify that users can attach files to items in lists created through the template; otherwise, FALSE.
DisallowContentTypes Optional Boolean. TRUE to specify that content types can be managed on lists created through the template; otherwise, FALSE.
VersioningEnabled Optional Boolean. TRUE to specify that versioning is enabled by default in lists created through the template; otherwise, FALSE.
FolderCreation Optional Boolean. TRUE to enable folder creation within the list and to specify that the New Folder command appears on the New menu in list views; otherwise, FALSE.
EnableModeration Optional Boolean. TRUE to specify that content approval is enabled by default in lists created through the template; otherwise, FALSE.
Hidden Optional Boolean. TRUE to specify that the list definition is not available on the Create page for creating lists.
HiddenList Optional Boolean. TRUE to specify that a list created from the list definition is hidden.
Advanced
Security Read Optional Text. Defines the item-level permissions in the list for users with sufficient permission to read or edit list items. The SecurityBits attribute contains a 2-digit string. The first digit in the string controls the read access; the second digit in the string controls the edit access.
Security Edit Optional Text. Defines the item-level permissions in the list for users with sufficient permission to read or edit list items. The SecurityBits attribute contains a 2-digit string. The first digit in the string controls the read access; the second digit in the string controls the edit access.
Name Optional URL. Specifies a URL to an icon used to represent a list.

Authors

  • Torsten Mandelkow

Version history

  • 1.0 Initial Recipe