---
title: "init(title:indexingKey:)"
framework: appintents
role: symbol
role_heading: Initializer
path: "appintents/entityproperty/init(title:indexingkey:)-6f87j"
---

# init(title:indexingKey:)

Creates an app intent entity property.

## Declaration

```swift
convenience init(title: LocalizedStringResource, indexingKey: PartialKeyPath<CSSearchableItemAttributeSet>)
```

## Parameters

- `title`: A word or short phrase summarizing this property.
- `indexingKey`: A Spotlight attribute set key mapping for this property.
