Return to doc.sitecore.com

  Valuelookup
Prev

Use to create a field which allows a user to choose a value from a drop-down list of Items.

Client view:

The lookup will fetch its values from an Item specified by the Source field property.

/upload/sdn5/reference/field reference/standard data types/standart_data_types5.png

When reading the data from the database, it is represented as a string containing one Item name, for instance:
Circle.

Valid default value:

Item name. For example:

Circle

Source:

Children of the Item specified in the Source will populate the drop-down list of the valuelookup field.

Sample source value: /sitecore/content/Home/Shapes

For information about accessing the field values programmatically, please follow the links below:

Accessing Valuelookup field value in C#

Accessing Valuelookup field value in XSLT 


Prev