---
title: documentStorageURL
framework: fileprovider
role: symbol
role_heading: Instance Property
path: fileprovider/nsfileprovidermanager/documentstorageurl
---

# documentStorageURL

The root URL for all shared documents.

## Declaration

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

## Discussion

Discussion This property contains the URL <container URL>/File Provider Storage, where container URL is the value returned by the 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 NSFileProviderReplicatedExtension protocol.

## See Also

### Accessing File Provider data

- [default](fileprovider/nsfileprovidermanager/default.md)
- [providerIdentifier](fileprovider/nsfileprovidermanager/provideridentifier.md)
