Tuesday, May 22, 2012

IBM Connections 3.0.x - Display tags as Cloud by default

In IBM Connections 3.0.x, when entering the Profiles app, you see that the tags on the left hand side is "displayed as list" instead of "display as cloud".

In Connections 2.5 the default setting was "cloud" but this is changed in 3.0.x.

If you want the feature back, where "Display as cloud" is the default value when first entering the Profiles app, here´s what you do:

Open up the file in your fav text editor ON ALL OF YOUR NODES:
/opt/IBM/WebSphere/AppServer/profiles/AppSrv01/installedApps/<cell>/Profiles.ear/lc.profiles.app.war/xslt/tags/tags.xsl
Find the div
<div id="tagCloud">

Copy the xsl:attribute just below this div tab to the clipboard (ctrl+c):
<xsl:attribute name="style">display: none;</xsl:attribute>
And then comment it out like this:
<!-- <xsl:attribute name="style">display: none;</xsl:attribute> -->
Then paste in your clipboard content just below this div tag:
<div id="tagsYouAddedView">
So that the finished result is:
<div id="tagsYouAddedView">
  <xsl:attribute name="style">display: none;</xsl:attribute>
And to the same with this div tag:
<div id="tagsList">
So that the finished result is:
<div id="tagsList">
  <xsl:attribute name="style">display: none;</xsl:attribute>
Stope Nodes, delete the content of the temp directory ON ALL NODES
/opt/IBM/WebSphere/AppServer/profiles/AppSrv01/temp
And start the nodes back up and clear the browser history and it should work.

And yes, remember, when doing upgrades, the changes you just did will most likely disappear, so please document what you just did. Because you will have to do this again :-) Thanks to Emmar for helping out on this :-)

No comments: