Export (0) Print
Expand All
0 out of 2 rated this helpful - Rate this topic

CHOICE Element (List)

Published: May 2010

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>
Did you find this helpful?
(1500 characters remaining)
Thank you for your feedback

Community Additions

© 2014 Microsoft. All rights reserved.