# Enabled

Set `Enabled` to `True` to turn on universal viewing.

With universal viewing, View Server uses the `[UniversalViewing]` configuration and information that it retrieves from the document store (your data index) to work out how to retrieve the original documents for viewing.

Universal viewing allows you to retrieve documents from various sources without requiring complex logic in your front end components. However, it does require more internal communication between your IDOL components, which might affect performance.

When you enable universal viewing, you must configure DocumentStoreHost and DocumentStorePort to specify the host and port of your primary data index component (a Content component or DAH).

View uses the reference that you request to retrieve the index representation of a requested document from the document store component. It then attempts to find the configured reference fields from the document:

- If the document has the configured DistributedConnectorReferenceField, View attempts to retrieve the document by using the Distributed Connector. For this option, you must also configure a Distributed Connector or IDOL NiFi Ingest in the `[Viewing]` section (DistributedConnectorHost and DistributedConnectorPort).
- If the document has the configured WebURLField (and does not have the DistributedConnectorReferenceField), View attempts to retrieve the document from the Web.
- If the document has the configured FileSystemReferenceField (and does not have the DistributedConnectorReferenceField or WebURLField), View attempts to retrieve the document directly from a file system or network share. Your `[Viewing]` configuration must allow View to retrieve the file.

If the document does not contain any of the configured reference fields, View attempts to retrieve the original document by the reference in the request, as usual. If it cannot retrieve the original document by reference, View returns the document title and content from the document store.

Type: | Boolean
Default: | False
Required: | No
Configuration Section: | UniversalViewing
Example: | `Enabled=True`
See Also: | DocumentStoreHost DocumentStorePort DistributedConnectorReferenceField FileSystemReferenceField WebURLField

_FT_HTML5_bannerTitle.htm