# View with Distributed Connector

In this method, the View server requests documents from the Distributed Connector. The Distributed Connector uses your individual connectors to retrieve documents from your repositories.

View with Distributed Connector

Advantages:

- This method allows you to view documents in all repositories where the connector supports the View action.

- You can use View server features such as caching, viewing embedded images, and highlighting.

Disadvantages:

- This method requires more network transfer than other methods.

- This method uses `AUTN_IDENTIFIER` for viewing rather than `DREREFERENCE`.

## Configuration

This method has the following setup requirements for indexing:

- Documents must have a reference field that your connectors recognize. Micro Focus recommends that you use the `AUTN_IDENTIFIER` field. You must configure this field as a `ReferenceType` field in IDOL.

- Subfiles must use an identifier string in the form `AUTN_IDENTIFIER|x.y.z` where `x`, `y`, and `z` are the subfile indexes for each level. You build the subfile identifiers in Lua (Connector Framework Server includes an example script to do this). This format enables View server to generate the links to the subfiles for viewing.

- Connectors must each set a unique `AUTN_GROUP` (controlled by the `ConnectorGroup` configuration parameter).

The method has the following setup requirements for viewing:

- The connector must support the `View` action.

- You must set the following parameters in the connectors:

  Parameter | Value | Notes
  --- | --- | ---
  `EnableViewServer` | `False` |
  `EnableExtraction` | `True` | You must also have filters present to view subfiles.
  `RegisterConnector` | `True` |
  `ConnectorGroup` |  | Must have a unique value for each connector.

- You must set the following parameters in the View server configuration file:

  Parameter | Value | Notes
  --- | --- | ---
  `DistributedConnectorHost` | `DCHost` | The host of the Distributed Connector.
  `DistributedConnectorPort` | `DCPort` | The port of the Distributed Connector.

TIP: It is generally fine to use the same instance of your connectors for viewing as you use for fetching documents.

If required, you can use a separate instance of the connector for viewing, as long as it has the same configuration to allow it to connect to the repository and interpret the identifiers correctly.

_FT_HTML5_bannerTitle.htm