Compartir a través de


List Schema

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.

The List schema of Introduction to Collaborative Application Markup Language (CAML) is used to define the metadata for creating lists. The list schema includes field definitions (Field element), view definitions (View Schema), and a toolbar definition, as well as specifying content types, forms, and a default description for lists that are created. The definition for a list is contained within a Schema.xml file that is located in Local_Drive:\Program Files\Common Files\Microsoft Shared\web server extenstions\12\TEMPLATE\FEATURES.

Lists can be created or modified programmatically through the object model (for example, members of the SPList and SPListCollection classes), through the Lists Web service (methods of the Lists class), and through Remote Procedure Call (RPC) protocol (see Microsoft Windows SharePoint Services RPC Methods).

List Elements

List

  MetaData

    Default

      Forms

        Form

          ListFormOpening

          ListFormButtons

          ListFormBody

          ListFormClosing

    ContentTypes

      ContentTypeRef

        Folder

    Fields

      Field

        FieldRefs

          FieldRef

        DisplayPattern

        DisplayBidiPattern

        CHOICES

          CHOICE

        MAPPINGS

          MAPPING

        Default

        Formula

        FormulaDisplayNames

        DefaultFormula

        DefaultFormulaValue

    Views

      [see View Schema]

    Forms

      Form

        ListFormOpening

        ListFormButtons

        ListFormBody

        ListFormClosing

    DefaultDescription

    Toolbar

    DocumentLibraryTemplate

  Data

    Rows

      Row

        Field

See Also

Concepts

Query Schema

View Schema