Recognizing advocates for IBM smart solutions

If you not already have heard or read about it; IBM launched the “IBM Champion Program” to recognize and reward exceptional contributors to the technical community. Learn more about the program here.

The IBM Champion program recognizes exceptional contributors to the technical community, non-IBMers who work alongside IBM to build solutions for a smarter planet. An IBM Champion is a developer or IT professional who leads and mentors his or her peers and helps them make best use of IBM solutions and services. Champions can be found running user groups, managing websites, speaking at conferences, answering questions in online forums, and writing blogs, how-to articles, and technical books.

The IBM Champion program recognizes and rewards these innovative thought leaders, amplifying their voice and increasing their sphere of influence on the technical community. The program incorporates existing champions from the Information Management area, who are showcased here, and we’re expanding it to become IBM-wide, with near-term focus on champions associated with WebSphere, Lotus, and Rational, and then more. We invite you to learn more

‘Nuff read? You are ready to nominate yourself or someone else? Here is the direct link.


Replace “See attached file:” in XPages

I got a phone call from a customer today asking if it is possible to replace the “See attached file” string in our corporate intranet by the attachment, so he would not need to scroll down to the end of an article to open an attachment.

After an hour of try and error, I ended up with the following code.

Place the code into the “AfterPageLoad” event of your XPage or Custom Control.

Or you can paste the code as a xp:customConverter directly into the RichText Control.

It searches for all occurrencies of “See attached files” in the RichText field that is displayed on the web with an id of “entryBody” and builds a hyperlink for each attachment as a replacement.

The result looks like this

You can now click the link to open the attached files.You can easily enhance the code to display nice looking images instead of the link text.

If there is a more elegant solution around, pls. let me know.