<!--
{
  "availability" : [
    "iOS: 11.0.0 -",
    "iPadOS: 11.0.0 -",
    "visionOS: 1.0.0 -"
  ],
  "documentType" : "symbol",
  "framework" : "FileProvider",
  "identifier" : "/documentation/FileProvider/NSFileProviderManager/documentStorageURL",
  "metadataVersion" : "0.1.0",
  "role" : "Instance Property",
  "symbol" : {
    "kind" : "Instance Property",
    "modules" : [
      "File Provider"
    ],
    "preciseIdentifier" : "c:objc(cs)NSFileProviderManager(py)documentStorageURL"
  },
  "title" : "documentStorageURL"
}
-->

# documentStorageURL

The root URL for all shared documents.

```
var documentStorageURL: URL { get }
```

## Discussion

This property contains the URL `<container URL>/File Provider Storage`, where *container URL* is the value returned by the <doc://com.apple.documentation/documentation/Foundation/FileManager/containerURL(forSecurityApplicationGroupIdentifier:)> method.

The container URL refers to an app group container directory used by the `NSFileProviderExtension` extension. You can specify this shared container using the `NSExtensionFileProviderDocumentGroup` key in the File Provider extension’s `info.plist` file.

> Note:
> While this property is available on macOS 11+, you don’t need to use it when creating a file provider extension that adopts the ``doc://com.apple.fileprovider/documentation/FileProvider/NSFileProviderReplicatedExtension`` protocol.

---

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)