CHOICE Element

CHOICE Element (List)

Last modified: July 20, 2010

Applies to: SharePoint Foundation 2010

In this article
Child Elements
Parent Elements

Used to define a choice within a Choice field.

    Value = "Text">
    Value = "Text">




Optional Text. Specifies the display text for the choice.

The value can be a reference to a resource in the format $Resources:String. However, choice values are not supported by the multilingual user interface (MUI). Choice values are initialized in the default language of the web site and do not change when a user switches to an alternate language supported by the site.

Minimum: 0

Maximum: Unbounded

Remember that CAML is case-sensitive; the CHOICE and CHOICES elements are in all capital letters.

The CHOICE element contains the value within its body.

The following example defines a Choice field with three choices.

  <CHOICE>Not Started</CHOICE>
  <CHOICE>In Progress</CHOICE>
© 2016 Microsoft