Represents a field set on an entry.

interface IField {
    fieldType?: LfRepositoryClientV2.FieldType;
    groupId?: number;
    hasMoreValues?: boolean;
    id?: number;
    isMultiValue?: boolean;
    isRequired?: boolean;
    name?: string;
    values?: string[];
}

Implemented by

Properties

The type of the field. The possible field types are listed below.

groupId?: number

The group id of the multi value field group. If the field is not a part of a multi value field group, then there is no group id.

hasMoreValues?: boolean

A boolean indicating if there are more field values.

id?: number

The ID of the field.

isMultiValue?: boolean

A boolean indicating if the represented field supports multiple values.

isRequired?: boolean

A boolean indicating if the represented field must have a value set on entries assigned to a template that the field is a member of.

name?: string

The name of the field.

values?: string[]

The values assigned to the field.