For the first time, Sharepoint users can equate list with table in the database. It is the most important and most commonly used data storage container in Sharepoint.
Objective of this section:How to define list
There are two ways to define a list in SharePoint: Create a list through page visualization (for beginners, you can learn more about the list) and define a list through vs (development mode ), the list definition here refers to the latter.
- Create list definition through
- Enter the name of list definition to determine whether to create a list instance based on the definition.
In Sharepoint, list is defined in XML format. Contains three definition files: listinstance1/elements. XML, elements. XML, schema. xml
Listinstance1/elements. xml: List instance definition file
Elements. xml: Declaration file of list template
Schema. xml: Specific definition of list template
The relationship between the three members is: List instance is created based on list template and associated through templatetype. schema is the specific details of template definition.
Through the above link analysis, you can directly list instances and schemas without using the list template (throughCustomschema)
Now that a Bugs list has been created (only one title column by default), we will complete the bugs list in the subsequent chapters, add the Custom column, content type ), view)
SharePoint Quick Start (3): list definition