|Important||This document may not represent best practices for current development, links to downloads and other resources may no longer be valid. Current recommended version can be found here.|
ListInstance Element (List Instance)
This content is outdated and is no longer being maintained. It is provided as a courtesy for individuals who are still using these technologies. This page may contain URLs that were valid when originally published, but now link to sites or pages that no longer exist.
Specifies default data with which to provision the given list type.
<ListInstance Description = "Text" FeatureId = "Text" Id = Text OnQuickLaunch = "TRUE" | "FALSE" QuickLaunchUrl = "Text" RootWebOnly = "TRUE" | "FALSE" TemplateType = Integer Title = "Text" Url = "Text" </ListInstance>
Optional Text. Contains a description of the list.
Required Text. Specifies the GUID of the Feature. If you do not specify a Feature GUID, Windows SharePoint Services uses the ID of the default Feature, in other words, the one containing the ListInstance element. If the list template for the list instance is contained within a different Feature, you must specify the ID of that Feature through the FeatureId attribute.
Required Text. Specifies a unique identifier for the list instance. The integer must be unique across the Feature definition.
Optional Boolean. TRUE to display lists created from the list definition on the Quick Launch bar.
Optional Text. Specifies the URL of the view page to open for the list through Quick Launch navigation.
Optional Boolean. TRUE to specify that the list created from the definition exists only in the root Web site of a site collection.
Required Integer. Returns the integer identifier of the list template to use.
Required Text. Title of the list in the schema.
Required Text. Returns the site-relative URL at which to place the list.