CHOICE Element (List)
SharePoint 2013
Used to define a choice within a Choice field.
<CHOICES>
<CHOICE
Value = "Text">
</CHOICE>
<CHOICE
Value = "Text">
</CHOICE>
...
</CHOICES>
Attribute | Description |
|---|---|
Value | 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. |
None |
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.