
124 Lotus Workplace Web Content Management and Content Manager Working Together
7.3.2 Why use federated content components?
Using federated content components enables users to have access to multiple
sources of information. This means that a user can use one query to search
against multiple sources to get a result set. There is no need for the user to
understand how and where the information is stored.
7.3.3 Setting up a federated content component
To use a federated content component, you need to configure the system to be
capable of performing federated searches. In addition, federated entity and
search templates must be defined in the Information Integrator for Content
Administration Client. Once they are defined, we need to create the federated
content component (either in a component library or within a content object) and
include it in the Web page content.
Prerequisites and configuration
The following is a list of tips and prerequisites for using the federated content
components:
Information Integrator for Content V8.2 with Fix Pack 3 or greater must be
installed on your federated data server.
Check your Information Integrator for Content configuration and make sure
that you have the
cmbds.ini file under the <CMGMT_HOME> directory. Refer
to Chapter 5, “Before you begin integration: pre-integration validation” on
page 63 for more detailed information on the setup.
To link to a federated data source, the following parameters must be edited
within the
Connector section of the connect.cfg file.
– DefaultServerAlias: alias name created when the Information Integrator for
Content is installed.
– DefaultUsername: default user ID used to log on to the federated
database.
– DefaultPassword: password for the user ID above.
– MaxResultsReturned: maximum number of results returned by the search
query.
Example 7-1 shows a code snippet of the connect.cfg file with these
parameters.
Example 7-1 connect.cfg: code snippet
<FederatedConnector>
<DefaultServerAlias value = "ICMNLSDB" />
<DefaultUsername value = "icmadmin" />