Lookup

Displays a lookup control in the form. The control displays values while the user enters characters.

Interface

interface IDynamicLookupField extends IBaseField {
  communityFieldName: string;
  lookupListUrl: string;
  lookupField: string;
  multiple?: boolean;
}

Example

Lookup
{
  "name": "apps",
  "type": "Lookup",
  "label": {
    "en-US": "LookUp",
    "es-ES": "LookUp"
  },
  "lookupListUrl": "/Lists/Applications",
  "lookupField": "Title",
  "validation": {
    "required": false
  },
  "multiple": true,
  "communityFieldName": "community"
}

Properties

type

Must be “Lookup”.

  • Type: "Lookup"

  • Required: Yes

communityFieldName

Name property of the communityPicker of the form that indicates the selected community.

  • Type: string

  • Required: Yes

lookupListUrl

Relative url of the list to which the lookup field points to.

  • Type: string

  • Required: Yes

lookupField

Internal name of the column of the list to which the lookup field points to.

  • Type: string

  • Required: Yes

multiple

If true the field will accept one or more items.

  • Type: boolean

  • Required: No