Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
The CHOICE element is used to define a choice within a Choice field.
Syntax
<CHOICES>
<CHOICE
Value = "Text">
</CHOICE>
<CHOICE
Value = "Text">
</CHOICE>
...
</CHOICES>
Attributes
Name | Description |
---|---|
Value | Optional Text. Can be used to specify an identifier for the choice. |
Element Relationships
Parent Elements |
---|
CHOICES |
Remarks
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.
Example
The following example defines a Choice field with three choices.
<CHOICES>
<CHOICE>Not Started</CHOICE>
<CHOICE>In Progress</CHOICE>
<CHOICE>Completed</CHOICE>
</CHOICES>