# Working with Auto-Linked Adobe InDesign Documents

Often when uploading an Adobe InDesign package document to Vault, you may need to upload package components as associated documents and link them to your InDesign package source file, which can be time-consuming and cumbersome. When InDesign component auto-linking is enabled, Vault automatically creates documents for each component in your InDesign package Links directory and links them to your InDesign package source file.

## About InDesign Auto-Linking

Enabling this feature automatically adds the following configuration elements:

  * _InDesign Component_ document type
  * _Linked Document_ document relationship type; this relationship is both source and target version-specific
  * _InDesign Auto-Linked Component_ document lifecycle

## Uploading an InDesign Package

When you <a href="/en/gr/22023/">upload an InDesign package ZIP file</a>, Vault automatically:

  * Generates a viewable rendition.
  * Examines content in the InDesign Package Links directory, matches content to existing Vault documents (via checksum), and creates or updates documents and document relationships. See details [below][1].
  * Sends a notification to the InDesign package document _Owner_ outlining the new _InDesign Component_ documents created; if there are no _InDesign Component_ documents created, Vault does not send a notification.

Automatically-linked documents appear in the **Auto-Linked Documents** section on the Doc Info page of your InDesign package file. You cannot manually add documents in this section.

<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>: Known Issue: If your package contains more than 200 component documents, documents don’t display in <strong>Auto-Linked Documents</strong> panel, and you may see an error.</p>
    </div>
  </div>
</div>



### Auto-Linked Document Matching {#matching}

When you upload your InDesign package, Vault verifies the documents in the Links directory (via checksum) and compares content to existing documents in Vault.

When a document in the Links directory already exists in your Vault, Vault creates a relationship between the component document and your InDesign package source file via the _Auto-Linked_ document relationship. Vault links to the latest _Steady_ state version of the oldest matching document in your Vault.

If a document in the Links directory does not exist in your Vault, Vault automatically creates a new document of type _InDesign Component_ and links to it your InDesign package source file via the _Auto-Linked_ document relationship.

## Re-rendering InDesign Packages

When you re-render an auto-linked InDesign package or upload a new version, Vault automatically replaces or updates existing linked components and adds any new links that may exist in the package.

Vault does not send notifications when a package is re-rendered. You may receive a notification when uploading a new version if Vault creates new _InDesign Component_ documents.

## Working with Component Documents

### Editing Component Documents

Vault only fills in the _Name_ field when creating _InDesign Component_ documents from an InDesign package file. You can then edit document metadata to fill in additional information. You can also approve these documents to a _Steady_ state.

<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>: Adding required fields to the <em>InDesign Auto-Linked Component</em> document type causes InDesign Auto-Linking to fail.</p>
    </div>
  </div>
</div>



### Using Sharing Settings to Filter Content

Sometimes, InDesign packages contain components that users don't need to see or work with in Vault. Librarians can use <a href="/en/gr/2572/">security settings</a> in the _InDesign Auto-Linked Component_ lifecycle to hide _InDesign Component_ documents from view. For example, when _InDesign Component_ documents are in the _Obsolete_ lifecycle state, a Librarian could remove _View Document_ and _View Content_ permission from users in the _Viewer_ and _Consumer_ roles to ensure that those users don't see those documents.

## Reporting on Auto-Linked Relationships

You can report on _Auto-Linked_ document relationships. Create a report of type _Source Document with Target Document_ and add a filter of _Relationship > Type equals Auto-Linked_.

This report type is automatically available when Admins enable this feature in new PromoMats and MedComms Vaults.

## Admin: How to Enable InDesign Auto-Linking

Contact Veeva Support to enable this feature in PromoMats and MedComms Vaults. If needed, you can contact your Veeva Representative to update the workflow for the _InDesign Auto-Linked Component_ document lifecycle.

In new PromoMats and MedComms Vaults, Admins can enable this feature via the **Enable InDesign Auto Linking** checkbox on the **Admin > Settings > Application Settings** page.

[1]: #matching