---
title: autosavedContentsFileURL
framework: appkit
role: symbol
role_heading: Instance Property
path: appkit/nsdocument/autosavedcontentsfileurl
---

# autosavedContentsFileURL

The location of the most recently autosaved document contents.

## Declaration

```swift
nonisolated var autosavedContentsFileURL: URL? { get set }
```

## Discussion

Discussion Use this property to specify the location where you want the document to store autosave files. The URL you specify should specify an absolute path, not a relative path.

## See Also

### Configuring the Autosave Behavior

- [autosavesInPlace](appkit/nsdocument/autosavesinplace.md)
- [autosavesDrafts](appkit/nsdocument/autosavesdrafts.md)
- [preservesVersions](appkit/nsdocument/preservesversions.md)
- [autosavingFileType](appkit/nsdocument/autosavingfiletype.md)
- [autosavingIsImplicitlyCancellable](appkit/nsdocument/autosavingisimplicitlycancellable.md)
