---
title: relatedAppEntityIdentifier
framework: corespotlight
role: symbol
role_heading: Instance Property
platforms: [iOS 27.0+, iPadOS 27.0+, Mac Catalyst 27.0+, macOS 27.0+, visionOS 27.0+]
path: corespotlight/cssearchableitemattributeset/relatedappentityidentifier
---

# relatedAppEntityIdentifier

The identifier of the related indexed entity for this searchable item’s attribute set.

## Declaration

```swift
var relatedAppEntityIdentifier: EntityIdentifier? { get set }
```

## Discussion

Discussion Use this property to associate a child searchable item such as an attachment or embedded content with its parent IndexedEntity instance. Only an identifier reference is stored. No entity content is embedded in the child item. Setting this property again replaces the previously set identifier.
