Skip to content

HCL Connections Widget Setup

Basic instructions for adding Kudos Boards Docker widgets into HCL Connections on-premise environments


Community Widget

Check out the widgets-config.xml file.

execfile("profilesAdmin.py")
ProfilesConfigService.checkOutWidgetConfig("/LCCheckedOut", AdminControl.getCell())

Edit the widgets-config.xml file. Find the resource element with the type of community, e.g. <resource ... type="community" ... >, then under <widgets>, then within <definitions> add the following, replacing [BOARDS_URL] with your URL:

<!-- Kudos Boards -->
<widgetDef defId="Kudos Boards" modes="view fullpage" url="{webresourcesSvcRef}/web/com.ibm.social.urliWidget.web.resources/widget/urlWidget.xml" themes="wpthemeNarrow wpthemeWide wpthemeBanner" uniqueInstance="true">
  <itemSet>
  <item name="resourceId" value="{resourceId}"/>
    <item name="width" value="100%"/>
    <item name="height" value="500px"/>
    <item name="url" value="https://[BOARDS_URL]/boards/community/connections"/>
  </itemSet>
</widgetDef>
<!-- END Kudos Boards -->

Check in the widgets-config.xml file.

ProfilesConfigService.checkInWidgetConfig()

Activity Stream widget

  1. Open Homepage => Administration

    Click Add another app

    Example

  2. Select the following:

    • OpenSocial Gadget
    • Trusted and Use SSO
    • Show for Activity Stream events
    • All servers

    Click the Add Mapping button.

    Example

  3. Enter values:

    • OAuth Client: conn-ee
    • Service name: Kudos Boards

    Click Ok

    Example

  4. Enter the following, replacing [BOARDS_URL] with your URL:

    Field Value
    App Title Kudos Boards Stream
    URL Address https://[BOARDS_URL]/stream/connections
    Icon URL https://[BOARDS_URL]/favicon.ico
    Icon Secure URL https://[BOARDS_URL]/favicon.ico

    Select:

    • Use HCL Connections specific tags
    • Opened by default

    For example:

    Example

  5. Select the following Prerequisites:

    • oauthprovider
    • oauth
    • opensocial
    • webresources

    Scroll down and click Save

    Example

  6. Select the newly defined app and click Enable

    Example