<!--
{
  "availability" : [
    "macOS: 15.0.0 -"
  ],
  "documentType" : "symbol",
  "framework" : "FileProvider",
  "identifier" : "/documentation/FileProvider/NSFileProviderKnownFolderLocations/Location/init(existingItemIdentifier:)",
  "metadataVersion" : "0.1.0",
  "role" : "Initializer",
  "symbol" : {
    "kind" : "Initializer",
    "modules" : [
      "File Provider"
    ],
    "preciseIdentifier" : "c:objc(cs)NSFileProviderKnownFolderLocation(im)initWithExistingItemIdentifier:"
  },
  "title" : "init(existingItemIdentifier:)"
}
-->

# init(existingItemIdentifier:)

Initialize a location with the item identifier of a folder that already exists on the server.

```
init(existingItemIdentifier: NSFileProviderItemIdentifier)
```

## Discussion

If the known folder already exists on the server, the provider can specify the exact identifier
of the item that needs to be used to back the known folder.

---

Copyright &copy; 2026 Apple Inc. All rights reserved. | [Terms of Use](https://www.apple.com/legal/internet-services/terms/site.html) | [Privacy Policy](https://www.apple.com/privacy/privacy-policy)