Updating the widgets-config.xml file

Update the Engagement Center's widgets-config.xml file with the settings needed for HCL Connections.

  1. Open a Windows command prompt (cmd.exe) and execute the following script to check out widgets-config.xml; leave the command prompt open for the next step.

    Alternatively you can edit the widgets-config.xml file manually and then synchronize the nodes in the WebSphere Integrated Solutions Console.

    cd C:\IBM\WebSphere\AppServer\profiles\Dmgr01\bin
    wsadmin -lang jython -user <wasadmin> -password <password>
    CommunitiesConfigService.checkOutWidgetsConfig("C:\Temp2", AdminControl.getCell())
  2. Open the just checked out widgets-config.xml file in an XML editor of your choice and add the following widgetDef code to the resource tag containing type="community"...>.

    Note: If you are using Connections V5.5 with no Cumulative Releases applied, then you must install the following iFix: For information on installing an iFix, see Installing interim fixes in interactive mode.

    <!-- IBM GROUP - ICEC4Communities -->
        modes="view fullpage"
        themes="wpthemeNarrow wpthemeWide wpthemeBanner"
           <item name="lang" value="{lang}"/>
    <!-- IBM GROUP - ICEC4Communities -->


  3. Run the following script: CommunitiesConfigService.checkInwidgetsConfig("working_directory","cell_name")

    where working_directory is the temporary working directory to which configuration files are copied. The files are kept in this working directory while you edited them, and cell_name is the name of the WebSphere Application Server cell that hosts the HCL Connections application. If you do not know the cell name, display it by typing the following command in the wsadmin client: print AdminControl.getCell()