Adding Activities Plus to a Community or Homepage
You can add the Activities Plus app (Docker widget) to communities and the homepage stream.
Adding Activities Plus to a community
- On the WebSphere® deployment manager machine, start the wsadmin client as described in Starting the wsadmin client. Check out the widgets-config.xml
file:
execfile("communitiesAdmin.py") CommunitiesConfigService.checkOutWidgetsConfig("/tmp//LCCheckedOut", AdminControl.getCell())
- Edit the widgets-config.xml file. Find the resource element with the type of community
(<resource ... type="community" ... >), then under <widgets>, then within <definitions> add
the following lines, 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:
CommunitiesConfigService.checkInWidgetConfig()
Adding Activities Plus to the homepage stream
- Access .
- Select the following:
- Open Social Gadget
- Trusted and Use SSO
- Show for Activity Stream events
- All servers
- Click the Add Mapping button.
- Add a Mapping for the Activities Plus service to the Kudos client. Ensure OAuth Client is set to conn-ee and the Service name is Kudos Boards. Click the Ok button.
- Enter the following, replacing [BOARDS_URL] with your URL:
Field Value Title Kudos Boards Activity Stream URL Address http://[BOARDS_URL]/stream/connections Secure URL Address https://[BOARDS_URL]/stream/connections ICON URL http://[BOARDS_URL]/favicon.ico ICON SECURE URL https://[BOARDS_URL]/favicon.ico - Select:
- Use HCL Connections specific tags
- Opened by default
- Select the following prerequisites:
- oauthprovider
- webresources
- oauth
- opensocial
- Scroll down and Click Save.