---
title: documentStorageURL
framework: fileprovider
role: symbol
role_heading: Instance Property
path: fileprovider/nsfileproviderextension/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.

## See Also

### Accessing the document storage

- [providerIdentifier](fileprovider/nsfileproviderextension/provideridentifier.md)
