# FieldGroupDataPoint Class

> FieldGroupDataPoint facade in the V1 navigator for a field group field, providing access to its instances and methods to add, insert, or remove them.

## Definition

* Namespace: `UiPath.DocumentProcessing.Contracts.Extensions.Navigator.V1`
* Assembly: `UiPath.DocumentProcessing.Contracts`
* Inherits: [DataPointFacadeBase](datapointfacadebase-class.md)

## Description

`FieldGroupDataPoint` is a facade for a field group field in an extraction result. It wraps a [ResultsDataPoint](results-data-point-class.md) and provides access to the field group's instances as [FieldGroupValue](fieldgroupvalue-class.md) objects.

The constructor throws `System.ArgumentException` if the wrapped data point is not a field group field. A `FieldGroupDataPoint` is typically obtained from `ExtractionResultHandler.FromFieldGroup(...)` or from `GetFieldGroup(...)` on [ComponentCollectionFacade](componentcollectionfacade-class.md).

## Members

### Constructors

| Constructor | Description |
|---|---|
| `FieldGroupDataPoint(ResultsDataPoint dataPoint)` | Initializes a new instance for a field group field. Throws `ArgumentException` if the field is not of type field group. |

### Properties

| Property | Type | Description |
|---|---|---|
| `Values` | [FieldGroupValue](fieldgroupvalue-class.md)`[]` | All field group instances. Read-only. |
| `this[int index]` | [FieldGroupValue](fieldgroupvalue-class.md) | The field group instance at the specified index, through indexer syntax. Read-only. |

### Methods

| Method | Returns | Description |
|---|---|---|
| `GetValue(int index)` | [FieldGroupValue](fieldgroupvalue-class.md) | Returns the field group instance at the specified index. |
| `AddEmptyValue(Field taxonomyField)` | [FieldGroupValue](fieldgroupvalue-class.md) | Adds a new empty field group instance built from the taxonomy definition and returns it. Throws `ArgumentException` if `taxonomyField` is not a field group type. |
| `InsertEmptyValue(int index, Field taxonomyField)` | [FieldGroupValue](fieldgroupvalue-class.md) | Inserts a new empty field group instance built from the taxonomy definition at the specified index and returns it. Throws `ArgumentException` if `taxonomyField` is not a field group type. |
| `Clear()` | `FieldGroupDataPoint` | Removes all values from the field group and returns this instance for chaining. |
| `Remove(int index)` | `FieldGroupDataPoint` | Removes the instance at the specified index and returns this instance for chaining. |

### Inherited members

Field metadata and validator properties (`FieldType`, `FieldId`, `FieldName`, `IsMissing`, `DataVersion`, `DataSource`, `OperatorConfirmed`, `ValidatorNotes`, `ValidatorNotesInfo`) and `GetRawDataPoint()` are inherited from [DataPointFacadeBase](datapointfacadebase-class.md). The `taxonomyField` parameter is a [Field](field-class.md) taxonomy definition.
