Manually integrating HCL Docs with Connections
HCL Connections™ Docs is supported on a larger set of operating systems than what HCL Docs officially supports. HCL Docs and File Viewer extensions are required to be installed on the Connections server. If the operating system does not support the scripts provided or does not support the required level of Python, you might need use a manual process to integrate HCL Docs into your HCL Connections deployment.
Procedure
-
Import an object type for HCL Docs files.
- Copy the <Unzipped_Docs_Install_Package>/config/ibmdocs.xml file to the Connections Files customization folder (<connections_install>\data/shared/customization/objecttypes).
- Configure the URL customizer (files-url-config.xml)
-
Configure files-config.xml file for HCL Docs.
-
In the WebSphere® Application Server
administrative console, map a user to the app-connector role for Files. This user is used by
HCL Docs to communicate with Files.
Note: If you are using a user other than the default Connections administrator associated with the J2C Alias connectionsAdmin, ensure that this user is also assigned as an administrator.
- Log in to the WebSphere® Application Server Deployment Manager administrative console from the browser.
- Click .
- Click the Files application.
- Click the security role for user/group mapping.
- Select app-connector. Click Map users.
- Type the ID that you are using for the HCL Docs administrator, and click search.
- Select the name from the available column and click the right-arrow to move the name to the selected column.
- Click OK, and then click OK again to close the security role mapping screen.
- Save the changes to the master configuration.
-
Disable the Open this File feature. In Connections Files, a user,
when downloading a file, can open it directly in the browser instead of saving it. Whether the
file can be opened is determined by local applications. When HCL Docs and File Viewer are enabled, Open this
File is not needed because users can use HCL Docs or File Viewer to open the file. There are two ways to
disable the feature:
- To disable the feature for all files, set <inlineDownload enabled="false"/> in files-config.xml.
- To disable the feature for a file type, set openFromWeb="false" for corresponding
mime-type in mime-files-config.xml, for example:
<mapping mediaType="document" mimeType="application/vnd.oasis.opendocument.text"> <extension openFromWeb="false">odt</extension> </mapping>
- Synchronize changes and restart the applications:
- Open the WebSphere® Application Server Deployment Manager administrative console from the browser, and click .
- Restart the Files application from .
- Step 6b should have resulted in importing the ibmdocs.xml file
content automatically. To verify that the object type was imported,
complete the following steps:
- Select all Connections nodes, and click Full Resynchronize to synchronize your changes to all cluster nodes.
- Ripple-start the common, infra, and Files Connections clusters.