Thursday, October 11, 2012

Connections 4: Profiles Customization Gets More Flexible

So I am not sure if anyone else has really spent time with this feature yet or not, but IBM has rewritten the was Profiles customization and extension happens.  It now takes advantage of the FreeMarker templating system for customizing Profiles, Business Cards, and Profile Search results.

IBM has provided a demo example in the product wiki to walk you through the steps to execute a simple extension.

The beauty of this approach is that code which would previously have been put into a custom attribute definition (which still works for backwards compatibility) can now be either placed into a custom FreeMarker macro in the commonUtil.ftl or can simply be wrapped around the display macro for the field in the other templates.

One word of advice, the documentation still has remnants of the Connections 3.x methodologies and links within some of the pages weave you between both methodologies.  When looking for information on enabling extension attributes for editing via the API, for example, it still references all configuration being done in the profiles-config.xml.  That file has been broken up into multiple files, with certain configuration remaining there and other configurations being moved to profiles-types.xml.

If the OOTB template files are not extreme enough of a UI change for you, it would appear that the documentation indicates you can completely rewrite the display and editing templates to your liking.  The ability to add/remove tabs from Profiles, reorder fields (which I have already used this for), add new fields, etc makes for a very flexible and interesting feature now.

Last note, there is a setting which you will want to explore:

<layoutConfiguration>
  <!--
   UI Template rendering configuration information
   -->
    <templateConfiguration>
    <!-- FTL template reloading to test customization, in production this value should be set to 0, but during customization set to value in seconds -->
      <templateReloading>1</templateReloading>
         ...
    </templateConfiguration>
</layoutConfiguration>

This will ensure that while developing your templates checking them out and in without restart will render your changes.

Happy Customizing!

For more information about FreeMarker, check their SourceForge page here.

Monday, October 01, 2012

Connections Mail Available!

If you missed the announcement:


IBM Connections Mail is now available to integrate mail and calendar into your social environment
IBM Collaboration Solutions

IBM Connections is an open and secure social software platform that helps people engage with networks of expertise and integrated business processes in order to act with confidence to create a new world of possibilities. Leverage the new information on Connections Mail to bring mail and calendar views and functions into your social environment.
You can find it in the Solution Catalog on Greenhouse.