Partilhar via


SP.Field.enforceUniqueValues Property

Applies to: SharePoint Foundation 2010

In this article
Property Value
Remarks
Applies To

Gets or sets a value that specifies whether to require unique field values in a list or library column.

var value = SP.Field.get_enforceUniqueValues(); 
SP.Field.set_enforceUniqueValues(value);

Property Value

Type: Boolean

true to require unique field values in a list or library column; otherwise, false.

Remarks

This property can not be set to false for built-in fields or the site columns.

Applies To

SP.Field Class

See Also

Reference

SP.Field Methods

SP.Field Properties

SP Namespace