---
title: "init(identifier:customIndexingKey:getter:)"
framework: appintents
role: symbol
role_heading: Initializer
path: "appintents/entityproperty/init(identifier:customindexingkey:getter:)-71o75"
---

# init(identifier:customIndexingKey:getter:)

Creates an app intent entity property.  Do not call this directly, use @ComputedProperty or @DeferredProperty

## Declaration

```swift
convenience init<Entity>(identifier: String, customIndexingKey: CSCustomAttributeKey, getter: KeyPath<Entity, Value>) where Entity : AppEntity
```

## Parameters

- `identifier`: The identifier of the property
- `customIndexingKey`: A custom Spotlight attribute set key for this property.
- `getter`: The getter reference for the property
