Announcement plugin for IBM Connections

Last Update:

Author: Christoph Stoettner
Read in about 2 min · 327 words

Fountain pen and a notebook

Photo by Aaron Burden | Unsplash

Last week i searched a way to send all Connections users an information on important updates, which should be configurable and uses cookies to hide it for a specific time.

First i had a look at the Greenhouse Announcement Widget which is used within Greenhouse .

2014 12 19 16 46 41

Quite nice, but i had problems with IE 9 users and the popup appears on each page you open within Connections. So i tried something other.

After some searching i found a script of Ollie Phillips which is originally used to inform users about Cookie usage on the site. Ollie published the cookiesDirective.js under the MIT License. When you find the announcement slider useful, please buy him a beer .

I took the script and put it to a osgi bundle and added some configuration parameters.

Selection 20141219 164343 001

If you want to test it,


, please use the updated archive! Download link see last point in this post!


Unarchive the package and copy de.stoeps.announcement_1.0.0.jar to your Connections customization folder/provision/webresources and the folder de (and all content below) to customization/javascript.

The text which is shown within the slider can be edited within customization/javascript/de/stoeps/announcement/popup.txt. You can use html code and links within this text file. So you can add links to additional informations.

Background color backgroundColor: '#CACACA', button text (buttonTextPre & buttonTextPost) and opacity (set backgroundOpacity: '99' to show a solid color) is configured in customization/javascript/de/stoeps/announcement/initialize.js

The announcement can be disabled with announcementEnabled: 'false'.

cookieLiveTime: 2 set the cookie to 2 days, so your users get the announcement again after 2 days and must confirm with the button.

After installation and after changes in initialize.js you must restart Common Application.


Klaus and Rainer mentioned problems with german language within the browsers. So i renamed the plugin from de.stoeps to org.scripting101.

Please use the following archive to install the announcement osgi plugin!


Installation and customization is nearly the same, only the path within customization/javascript changes from de/stoeps to org/scripting101!

Thanks for testing guys.

Add a comment
There was an error sending your comment, please try again.
Thank you!
Your comment has been submitted and will be published once it has been approved.

Your email address will not be published. Required fields are marked with *

Suggested Reading
Aaron Burden: Fountain pen and a notebook
Adding a custom field to IBM Connections Profiles is great documented in “[SHOW301: Make Your IBM® Connections Deployment Your Own: Customize It!]” the Connect 2014 session of Wannes Rams and Klaus Bild . Thanks to them for this great collection of customizing tipps. In my case the bundle name is “stoeps” and the custom field i want to add is “twitterId”. lotusconnections-config.xml <resources> <!-- Custom strings for field labels --> <widgetBundle name="local.stoeps.profiles.strings.uiLabels" prefix="stoeps"/> </resources> # extension property field labels label.stoeps.twitterId=Twitter Id: profiles-types.xml <property> <!-- Custom field for Twitter ID --> <ref>twitterId</ref> <updatability>readwrite</updatability> <hidden>false</hidden> </property> profiles-config.xml Checkout profiles-config.xml and change following points:
Last Update:
Read in about 2 min
Card image cap
I have read about a new function in IBM Connections Wiki, which I missed until now. A new macro to create a table of contents within a wiki page. The activation of this macro is documented here: Wikis configuration properties wikimacros.enabled Specifies whether macros are enabled in Wikis. You can use macros to automate common tasks, such as generating a table of contents in a wiki page. The default value of this parameter is false. To enable macros, set the value to true. When enabled, macros are available from the Macros menu in the editor toolbar. Documentation I’m a little confused (the config option should be editor.
Last Update:
Read in about 3 min
Aaron Burden: Fountain pen and a notebook
I had a problem last week with some customizations via custom.css in IBM Connections CR3. Communities still use the default Layout and colors. I found that defaultTheme.css rewrites some of my custom.css statements. I had to add the content of custom.css to the end of the xxxTheme.css (lazy but it works), that i have a consistent color and layout change. Tests with @import are not working, because @import must be the first statement of a css file and i need to add the custom.css to the end of the xxxTheme.css.
Last Update:
Read in about 1 min