LookupColumn resource type

The lookupColumn on a columnDefinition resource indicates that the column's values are looked up from another source in the site.

JSON representation

Here is a JSON representation of a lookupColumn resource.

{
  "allowMultipleValues": true,
  "allowUnlimitedLength": false,
  "columnName": "string",
  "listId": "string",
  "primaryLookupColumnId": "string"
}

Properties

Property name Type Description
allowMultipleValues boolean Indicates whether multiple values can be selected from the source.
allowUnlimitedLength boolean Indicates whether values in the column should be able to exceed the standard limit of 255 characters.
columnName string The name of the lookup source column.
listId string The unique identifier of the lookup source list.
primaryLookupColumnId string If specified, this column is a secondary lookup, pulling an additional field from the list item looked up by the primary lookup. Use the list item looked up by the primary as the source for the column named here.