Not
Åtkomst till den här sidan kräver auktorisering. Du kan prova att logga in eller ändra kataloger.
Åtkomst till den här sidan kräver auktorisering. Du kan prova att ändra kataloger.
Applies to: SharePoint 2016 | SharePoint Foundation 2013 | SharePoint Online | SharePoint Server 2013
Used to define several choices within a field for a drop-down list.
<CHOICES>
<CHOICE
Value = "Text">
</CHOICE>
<CHOICE
Value = "Text">
</CHOICE>
...
</CHOICES>
Elements and attributes
The following sections describe attributes, child elements, and parent elements.
Attributes
None
Child elements
Parent elements
Occurrences
- Minimum: 0
- Maximum: 1
Remarks
Within a CHOICES element, each CHOICE element contains a value that appears in the list.
Remember that CAML is case-sensitive; the CHOICE and CHOICES elements are in all capital letters.
Example
This example defines a Choice field with three choices.
<CHOICES>
<CHOICE>Not Started</CHOICE>
<CHOICE>In Progress</CHOICE>
<CHOICE>Completed</CHOICE>
</CHOICES>