SP.FieldLookup.lookupWebId Property

Applies to: SharePoint Foundation 2010

Gets or sets a value that specifies the GUID that identifies the site containing the list which contains the field used as the lookup values.

var value = SP.FieldLookup.get_lookupWebId();

SP.FieldLookup.set_lookupWebId(value);

Property Value

Type: SP.Guid

Applies To

SP.FieldLookup Class

Exceptions

  • [Microsoft.SharePoint.SPException]
    The server does not allow properties of the field to be changed. Error code: -2146232832.
  • [System.NotSupportedException]
    When the property is read only and the list that this field belongs to is an external list. Error code: -1.

See Also

Reference

SP.FieldLookup Methods

SP.FieldLookup Properties

SP Namespace