Configure Universal Viewing

Universal viewing is an additional View configuration that allows the View Component to work out how to retrieve your original documents. It allows you to retrieve documents from various sources to view, without requiring you to use complex logic in your front end components to work out how to send the View request.

NOTE:

Universal viewing requires more internal communication between your IDOL components, which might affect performance.

When you enable universal viewing, you also configure the location of your document store (a Content component or DAH). You also configure a set of reference fields to specify how to retrieve the original documents (by using Distributed Connector, a Web URL, or from the file system).

To enable universal viewing

  1. Open the HPE IDOL Server configuration file in a text editor.

  2. Add a [UniversalViewing] configuration section.

  3. In the [UniversalViewing] section, set Enabled to True to enable universal viewing.

  4. Set DocumentStoreHost and DocumentStorePort to the host and port of your primary data index component (either the Content component, or DAH). View Server uses this component to retrieve the index representation of your documents to find the appropriate reference fields.

  5. Set one or more of the following parameters to specify the reference fields in your documents that View Server must use to retrieve the documents from the associated sources:

    DistributedConnectorReferenceField The document reference field that contains a reference that View Server can use to retrieve the document by using the Distributed Connector.

    To use this option, you must configure the details for the Distributed Connector in the [Viewing] section. See Configure View to Use a Distributed Connector.
    FileSystemReferenceField

    The document reference field that contains a reference value that View Server can use to retrieve the document from a local file system or network share.

    WebURLReferenceField

    The document reference field that contains a reference value that View Server can use to retrieve the document from the Web.

  6. Save and close the configuration file. Restart HPE IDOL Server for your changes to take effect.

For example:

[UniversalViewing]
Enabled=True
DocumentStoreHost=localhost
DocumentStorePort=9900
DistributedConnectorReferenceField=AUTN_IDENTIFIER
WebURLReferenceField=DREREFERENCE
FileSystemReferenceField=ORIGINAL_LOCATION

When you send a View request, View Server uses the requested reference to retrieve the index representation of the document from the document store. It then attempts to find the configured reference fields in the document:

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


_HP_HTML5_bannerTitle.htm