Skip to content

Scripts for registering Kudos Communities/Profiles widgets with WidgetContainer. Applicable to Connections 6 CR1 onwards.

Notifications You must be signed in to change notification settings

isw-kudos/kudos-widgetcontainer-registration

Repository files navigation

kudos-widgetcontainer-registration

Scripts for registering Kudos Communities/Profiles widgets with WidgetContainer. Applicable to Connections 6 CR1 onwards.

Resources

IBM Connections 6.0 CR1 onwards requires all widgets to be registered in the Widget Container

IBM Knowledge Center - Gadget registration commands - Administering - Connections

Update Strategy for IBM Connections 6.0

Updating the IBM Connections 6.0 databases to the required schema versions for Cumulative Refresh 1 (CR1)

Prerequisites

IBM Connections 6 CR1 or later Installed

IBM Connections 6 CR1 or later database update scripts run

Kudos Badges/Analytics v5.0.4+.

Kudos Boards v3.0.0+

Steps

Ensure the prerequisites above have already been completed/installed.

Copy the files from this repository on to your server. Download link.

Run each of the appropriate wsadmin scripts (.py) for the Kudos products you have installed. Using your connections admin user.

./wsadmin.sh -lang jython -username <USERNAME> -password <PASSWORD> -f /KudosScriptsDirectory/<SCRIPT NAME>.py <YOUR SERVER FQDN>

Example for Kudos Badges:

./wsadmin.sh -lang jython -username connectionsadmin -password P@ssw0rd1! -f /KudosScriptsDirectory/registerBadgesProfCommWidgets.py connections.isw.net.au

Restart all clusters running Connections applications.

All Kudos Widgets should now be registered and working OK. Test this by opening a Community that has a Kudos widget and a Profiles page.

Other Notes

  • Widget Registration must be completed for ALL third party widgets. These scripts will only register/update widgets for Kudos products. If you have widgets from other products (OnTime, XCC, custom/in-house) you will also need to complete similar steps for those products and widgets. You are welcome to adapt the code provided here for other widgets.

  • All registered widget URLs must be absolute. These scripts will always register absolute URLs. However, if you're doing your own thing you should know that relative URLs will cause the widgets to fail loading. Check the output of printAllWidgets.py for any relative URLs.

  • These scripts will only register https:// URLs. If your widget-config.xml is using relative URLs for these widgets and you access Connections over http:// the widgets will fail to load.

  • Your browser can cache the definitions of widgets received from the server even if they are not working. Be sure to test loading the changed widgets without a browser cache whenever the Connections widget cache is cleared. Either by clearing your browser cache or using an incognito/private browsing session.

  • This trace string will output detailed logs for the WidgetContainer application: *=info:com.ibm.cre*=all Search for was not allowed for container to find the URLs that have not been registered properly.

About

Scripts for registering Kudos Communities/Profiles widgets with WidgetContainer. Applicable to Connections 6 CR1 onwards.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages