SP.FieldLookup object

Specifies a lookup field.

Applies to: apps for SharePoint | SharePoint Foundation 2013 | SharePoint Server 2013

var object = new SP.FieldLookup()

Members

The FieldLookup object has the following members.

Constructor

The FieldLookup object has the following constructor.

Constructor

Description

FieldLookup

Initializes a new instance of the SP.FieldLookup object.

Properties

The FieldLookup object has the following properties.

Property

Description

allowMultipleValues

Gets or sets a value that specifies whether the lookup field allows multiple values.

isRelationship

Gets or sets a value that specifies whether this lookup field is returned by SP.List.getRelatedFields from the list being looked up to.

lookupField

Gets or sets a value that specifies the internal field name of the field used as the lookup values.

lookupList

Gets or sets a value that specifies the list identifier of the list that contains the field to use as the lookup values.

lookupWebId

Gets or sets the ID of the Web site that contains the list that is the source of this field's value.

primaryFieldId

Gets or sets a value that specifies the primary lookup field identifier if this is a dependent lookup field. Otherwise, it is an empty string.

relationshipDeleteBehavior

Gets or sets a value that specifies the delete behavior of the lookup field.

See also

Other resources

FieldLookup resource