# Creating Document Versions Using Vault Loader

When using <a href="/en/gr/26597/">Vault Loader</a>, the **Document Versions** selection lets you upload additional versions (including files) and associate them with existing documents.



<div class="note-border alert-info">
  <div class="alert alert-info" role="alert">
    <div><i class="far fa-info-circle"></i></div>
    <div class="alert-text">
      <p><strong>Note</strong>: This is only available when you select the <a href="/en/gr/54028/"><strong>Document Migration Mode</strong></a> checkbox. You can select <em>No Triggers</em> to bypass record triggers in Document Migration Mode.</p>
    </div>
  </div>
</div>



## How to Load Document Versions {#loading-documents}

Before loading document versions:

* Upload all document source files to <a href="/en/gr/26597/#ftp">file staging</a>.
* [Prepare the CSV input file][1] containing document field names and values.

To load document versions:

1. In the left panel of the **Loader** tab, click **Load**.
2. For the **CSV File**, click **Choose** and select the CSV input file.
3. In the **Entity Type** picklist, select **Document Versions**.
4. In the **Action Type** picklist, select **Create**.
5. Click **Start Load**.

Vault begins processing the request. When finished, you'll receive a <a href="/en/gr/26597/#loader-notifications-outputs">Vault notification and email</a> with request details and CSV output files.

## Past Versions as Content Placeholders

If the latest version of a document includes a source file, you cannot create a past version without a source file (as a content placeholder).

## Preparing the CSV Input File {#preparing-the-csv-input-file}

The CSV input file must include the following column headers and corresponding values:

* `id`
* `type__v`
* `subtype__v`
* `classification__v`
* `major_version_number__v`
* `minor_version_number__v`
* `lifecycle__v`
* `status__v`: Specifies the lifecycle state for the document version using the name value, for example, `in_review__c` for _In Review_.
* `external_id__v`: Optionally, you can choose to omit the id column and identify documents by external id.  If both `id` and `external_id__v` are included in your CSV, the load fails.

Download <a class="download-link " href="https://platform.veevavault.help/assets/downloads/vault-add-document-versions-sample-csv-input.csv.zip" target="_blank" rel="noopener">example input<i class="fa fa-download" aria-hidden="true"></i></a>.

You can find further explanations in <a href="/en/gr/26605/#preparing">Create & Update Documents</a>.

[1]: #preparing-the-csv-input-file
