View Component 25.1
View Component Help

# Enabled

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

With universal viewing, the View component 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 Knowledge Discovery 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 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

Copyright 2024 Open Text
Version 25.1 | Last updated January 2025

Send documentation feedback

Close

Send documentation feedback

To send feedback using your default email client, open an email window.

Otherwise, send your feedback and the information below to MFI-swpdl.idoldocsfeedback@opentext.com.

We appreciate your feedback!

Product: Knowledge Discovery View Component 25.1

Topic Title: Enabled