> [!CAUTION]
> **Caution** : Document AI Warehouse is deprecated and will no longer be available on Google Cloud after January 16, 2025. To safeguard your data, migrate any documents currently saved in Document AI Warehouse to an alternative like Cloud Storage. Verify that your data migration is completed before the discontinuation date to prevent any data loss. See [Deprecations](https://docs.cloud.google.com/document-warehouse/docs/deprecations) for details.

<br />

> [!WARNING]
>
> **Preview**
>
>
> This feature is
>
> subject to the "Pre-GA Offerings Terms" in the General Service Terms section of the
> [Service Specific
> Terms](https://docs.cloud.google.com/terms/service-terms#1).
>
> Pre-GA features are available "as is" and might have limited support.
>
> For more information, see the
> [launch stage descriptions](https://cloud.google.com/products/#product-launch-stages).

Occasionally, you might require a way to index document content without granting every reader or viewer direct, full access to that content.

## Background

- First, you need a way to ingest Document AI parsed documents in JSON format to Document AI Warehouse.
- Next, limit viewers from seeing full documents inside Document AI Warehouse. A summary appears instead of the content itself.

  ![](https://docs.cloud.google.com/static/document-warehouse/docs/images/sharepoint_6.png)

> [!NOTE]
> **Note:** When clicking the filename, open the original Sharepoint link, not the document viewer.

## Methods

Depending on whether or not viewers use the same application for viewing documents, this feature falls into two different categories:

1. **Default viewer URL:** If viewers all use the same application and this property is set, they can find an external link next to the document name. Clicking the document name opens a new tab with the embedded URL. If a viewer finds the document ID and tries to navigate to the document viewer, they are redirected to the URL specified in this property.

           {
               "name": "defaultViewerUrl",
               "display_name": "Default Viewer URL",
               "is_repeatable": false,
               "is_filterable": true,
               "is_searchable": true,
               "is_metadata": true,
               "is_required": false,
               "text_type_options": {},
               "schema_sources": []
           }   

2. **External app URL:** When viewers use different applications for viewing documents, this is a map property. For example, a HITL labeler might open the HITL app to correct entities, but a business user opens the Sharepoint app to review the document.

   The key is the app name, and the value is the URL. In the menu at the end of each row, you can add **Open with** links to the menu.

   ![](https://docs.cloud.google.com/static/document-warehouse/docs/images/sharepoint_4.png)

           {
               "name": "externalAppMap",
               "display_name": "External URL Map",
               "is_repeatable": false,
               "is_filterable": true,
               "is_searchable": true,
               "is_metadata": true,
               "is_required": false,
               "map_type_options": {},
               "schema_sources": []
           }

   ![](https://docs.cloud.google.com/static/document-warehouse/docs/images/sharepoint_1.png)

## Next step

Learn to [Configure the web application](https://docs.cloud.google.com/document-warehouse/docs/administer-warehouse).