---
title: "elementsDerived(fromExternalRecordAt:)"
framework: coredata
role: symbol
role_heading: Type Method
path: "coredata/nspersistentstorecoordinator/elementsderived(fromexternalrecordat:)"
---

# elementsDerived(fromExternalRecordAt:)

Returns a dictionary containing the parsed elements derived from the Spotlight external record file that is specified by the given URL.

## Declaration

```swift
class func elementsDerived(fromExternalRecordAt fileURL: URL) -> [AnyHashable : Any]
```

## Parameters

- `fileURL`: A file URL specifying the location of a Spotlight external record file.

## Return Value

Return Value A dictionary containing the parsed elements derived from the Spotlight support file specified by fileURL.

## Discussion

Discussion Dictionary keys and the corresponding values are described in Spotlight record keys.

## See Also

### Deprecated type methods

- [metadataForPersistentStore(with:)](coredata/nspersistentstorecoordinator/metadataforpersistentstore(with:).md)
- [metadataForPersistentStore(ofType:at:)](coredata/nspersistentstorecoordinator/metadataforpersistentstore(oftype:at:).md)
- [metadataForPersistentStore(ofType:at:options:)](coredata/nspersistentstorecoordinator/metadataforpersistentstore(oftype:at:options:).md)
- [registerStoreClass(_:forStoreType:)](coredata/nspersistentstorecoordinator/registerstoreclass(_:forstoretype:).md)
- [removeUbiquitousContentAndPersistentStore(at:options:)](coredata/nspersistentstorecoordinator/removeubiquitouscontentandpersistentstore(at:options:).md)
- [setMetadata(_:forPersistentStoreOfType:at:)](coredata/nspersistentstorecoordinator/setmetadata(_:forpersistentstoreoftype:at:).md)
- [setMetadata(_:forPersistentStoreOfType:at:options:)](coredata/nspersistentstorecoordinator/setmetadata(_:forpersistentstoreoftype:at:options:).md)
