# AnalyticsRelationship.targetField Property

> AnalyticsRelationship.targetField property in the TX Sheet Control TypeScript API for the browser, with its type string and a TypeScript example.

- **Product:** TX Sheet Control
- **Section:** Documentation
- **Kind:** Property
- **Path:** TX Sheet Control > API Reference > TypeScript API > Browser Editor > AnalyticsRelationship > AnalyticsRelationship.targetField Property
- **365 words**
- **Web URL:** https://docs.textcontrol.com/tx-sheet-control/reference/typescript-api/browser/analyticsrelationship/targetfield-property/
- **LLMs URL:** https://docs.textcontrol.com/tx-sheet-control/reference/typescript-api/browser/analyticsrelationship/targetfield-property/llms.txt
- **LLMs-Full URL:** https://docs.textcontrol.com/tx-sheet-control/reference/typescript-api/browser/analyticsrelationship/targetfield-property/llms-full.txt

---

The targetField value of AnalyticsRelationship.

Owner: [AnalyticsRelationship](https://docs.textcontrol.com/tx-sheet-control/reference/typescript-api/browser/analyticsrelationship/llms-full.txt). Package: `@txtextcontrol/tx-sheet-control`. Version: **2.0.0**.

### Syntax

```typescript
targetField: string
```

Read through the owning object: `owner.targetField`. Follow the declared mutability and owning object lifetime.

### Examples

Pass the AnalyticsRelationship value obtained from its owning control, collection, callback or operation. The function reads that value without constructing a replacement document object.

```typescript
import type { AnalyticsRelationship } from '@txtextcontrol/tx-sheet-control';

function inspectAnalyticsRelationshipTargetField(analyticsRelationship: AnalyticsRelationship) {
    const value = analyticsRelationship['targetField'];
    console.log('AnalyticsRelationship.targetField', value);
}
```

### Remarks

Use this member on an object from the current document. Reacquire document-bound handles after replacement/deletion. Validate arguments against the declared types and documented bounds; handle exceptions or rejected promises.

### See Also

- [AnalyticsRelationship Interface](https://docs.textcontrol.com/tx-sheet-control/reference/typescript-api/browser/analyticsrelationship/llms-full.txt)
- [Creating Dashboards](https://docs.textcontrol.com/tx-sheet-control/dashboards/creating/llms-full.txt)

---

## Nearby

- **Previous:** [AnalyticsRelationship.sourceId Property](https://docs.textcontrol.com/tx-sheet-control/reference/typescript-api/browser/analyticsrelationship/sourceid-property/llms-full.txt)
- **Next:** [AnalyticsRelationship.targetSourceId Property](https://docs.textcontrol.com/tx-sheet-control/reference/typescript-api/browser/analyticsrelationship/targetsourceid-property/llms-full.txt)
