---
title: "tableView(_:appEntityIdentifierForRowAt:)"
framework: appintents
role: symbol
role_heading: Instance Method
path: "appintents/uitableviewappintentsdatasource/tableview(_:appentityidentifierforrowat:)"
---

# tableView(_:appEntityIdentifierForRowAt:)

Asks the data source to return an app entity identifier for a cell at a particular location in the table view.

## Declaration

```swift
@MainActor func tableView(_ tableView: UITableView, appEntityIdentifierForRowAt indexPath: IndexPath) -> EntityIdentifier?
```

## Parameters

- `tableView`: The table-view object asking for the app entity identifier.
- `indexPath`: An index path locating a row in the table view.

## Return Value

Return Value The app entity identifier for the item at the specified location in the table view.

## Discussion

Discussion For more information, refer to doc:Making-onscreen-content-available-to-siri-and-apple-intelligence and App Intents.
