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.
Methods
Depending on whether or not viewers use the same application for viewing documents, this feature falls into two different categories:
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": [] }
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.
{ "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": [] }
Next step
Learn to Configure the web application.