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.


  1. Start the wsadmin client from the following directory of the system on which you installed the Deployment Manager:

    where app_server_root is the WebSphere Application Server installation directory and dm_profile_root is the Deployment Manager profile directory, typically dmgr01.

    For example: cd /opt/IBM/WebSphere/AppServer/profiles/Dmgr01/bin/ ./ -lang jython -user {WASADMIN} -password {PASSWORD} -port {PORT}

  2. Start the Jython script interpreter for the News repository.
    1. Use the following command to access the News configuration file: execfile("")
    2. 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.
  3. Use the following commands: NewsActivityStreamService.listApplicationRegistrations()
  4. Take one of the following actions:
    • If the result includes ibmdocs as shown in the following sample:
      {blogs=blogs, forums=forums, wikis=wikis, communities=communities, files=files, ecm_files=Libraries, profiles=profiles, dogear=dogear, 
      activities=activities, homepage=homepage, ibmdocs=Docs}
      Run the following command:
      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.