![]() Operating systems: i5/OS, Linux,Windows |
To use the federated content component, first configure your Web Content Management Server to link to a federated data source. Only one federated data source can be used per Web content server.
To link to a federated data source, edit the following properties in the WCMConfigService.properties file.
connect.connector.federatedconnector.defaultserveralias= connect.connector.federatedconnector.defaultusername= connect.connector.federatedconnector.defaultpassword= connect.connector.federatedconnector.connectionstring= connect.connector.federatedconnector.maxresultsreturned=100 connect.connector.federatedconnector.connectiontimeout=300
defaultserveralias | This is the alias name created when the federated data source's "II4C" client was created. |
defaultusername | This is the user name used to preview or view the federated
data source.Note: The user name and password specified here must
have appropriate access privileges to perform searches, select references,
and view content.
When viewing a federated content component in a web page, or previewing a federated data source from within the federated content component form, the user name and password entered in the federated content component form are attempted first. If the federated reference cannot be accessed, the default user name and password specified in the WCMConfigService.properties file are used. If the federated reference still cannot be accessed, the current user's credentials are attempted. If federated content cannot be accessed, a blank line will be inserted into rendered content in place of the federated content. |
connectionstring | The connection string used to access the federated data source, including the name of the schema used by the data source. For example: SCHEMA=ICMNLSDB. |
defaultpassword | This is the password of the user name used to preview or view the federated data source. |
maxresultsreturned | The maximum number of results returned by a search query can be set here. The default value is 100. |
connectiontimeout | This is a timeout value in seconds. This will force the cache to be cleared. The default value, if not specified, is 300 seconds (5 minutes). |
Note: IBM Content
Manager or IBM Information Integrator configuration
When using IBM Content Manager or IBM Information Integrator for Content (II4C) with Web Content Management, Java 2 support must be enabled by running "usejdbc2.bat" or "usejdbc2.sh" as described in the IBM Content Manager or IBM Information Integrator documentation. Note: IBM Information Integrator for ContentTo use the federated content component:
|
db2 connect to database_name user user_name using password
db2 grant update on table schema_name.faoptions to user icmconct