Registering HCL Docs in Connections News
You can register HCL Docs in Connections News. Then when you @mention a person in comments, the person can see a notification in their home page. The person can also receive an email depending on their email notification duration settings.
Procedure
- Start the wsadmin client from the following directory of
the system on which you installed the Deployment Manager: app_server_root\profiles\dm_profile_root\bin
where
app_server_root
is the WebSphere Application Server installation directory anddm_profile_root
is the Deployment Manager profile directory, typicallydmgr01
.For example:
cd /opt/IBM/WebSphere/AppServer/profiles/Dmgr01/bin/ ./wsadmin.sh -lang jython -user {WASADMIN} -password {PASSWORD} -port {PORT}
- Start the Jython script interpreter for the News repository.
- Use the following command to access the News configuration
file:
execfile("newsAdmin.py")
- If prompted to specify a service to connect to, type 1 to select the first node in the list. Most commands can run on any node. If the command writes or reads information to or from a file using a local file path, you must select the node where the file is stored.
- Use the following command to access the News configuration
file:
- Use the following commands:
NewsActivityStreamService.listApplicationRegistrations()
- Take one of the following actions:
- If the result includes
ibmdocs
as shown in the following sample:
Run the following command:{blogs=blogs, forums=forums, wikis=wikis, communities=communities, files=files, ecm_files=Libraries, profiles=profiles, dogear=dogear, activities=activities, homepage=homepage, ibmdocs=Docs}
NewsActivityStreamService.updateApplicationRegistrationForEmailDigest("IBMDocs", "true", "INDIVIDUAL", "false")
- If the result does not include
ibmdocs
, run the following command:NewsActivityStreamService.registerApplication("IBMDocs", "Docs", "", "", "", "", "Docs", "true") NewsActivityStreamService.updateApplicationRegistrationForEmailDigest("IBMDocs", "true", "INDIVIDUAL", "false")
Note: For more information, see Registering third-party applications in the HCL Connections documentation. - If the result includes