---
title: "draft(identifier:)"
framework: appintents
role: symbol
role_heading: Type Method
path: "appintents/fileentityidentifier/draft(identifier:)"
---

# draft(identifier:)

Creates and returns an identifier for a draft document.

## Declaration

```swift
static func draft(identifier: String) -> FileEntityIdentifier
```

## Discussion

Discussion Only use this method to initialize identifiers for documents which aren’t materialized on disk yet and don’t have a file URL.
