Manage Learn to apply best practices and optimize your operations.

An easier way to view multiple columns on the Web

SearchDomino.com member Jay How explains how to use some simple HTML code to more easily view columns that have multiple values on the Web.

This tip was submitted to the SearchDomino.com tip library by member Jay How. Please let others know how useful it is via the rating scale at the end of the tip. Do you have a useful Lotus Notes, Domino, Workplace or WebSphere tip or code snippet to share? Submit it to our monthly tip contest and you could win a prize.


When you have multiple values for a column displayed on the Web, it can appear crowded and difficult to read -- especially if there is a large amount of values, with all the values only separated by commas. One solution is to display them as list items. Using a formula in a view column, the code is as follows:

head := "[<ul><li>";
body := @Implode(someFieldListValue; "</li><li>" ); 
tail := "</li></ul>]"; head + body + tail 

You can exclude [ and ] if the view is "treat view contents as HTML."

You may also use this in forms using the same formula in computed text, where the field is hidden in read mode and the computed text is hidden in edit mode.

Do you have comments on this tip? Let us know.

This was last published in May 2006

Dig Deeper on HTML for Lotus Notes Domino

Start the conversation

Send me notifications when other members comment.

Please create a username to comment.

-ADS BY GOOGLE

SearchWindowsServer

Search400

  • iSeries tutorials

    Search400.com's tutorials provide in-depth information on the iSeries. Our iSeries tutorials address areas you need to know about...

  • V6R1 upgrade planning checklist

    When upgrading to V6R1, make sure your software will be supported, your programs will function and the correct PTFs have been ...

  • Connecting multiple iSeries systems through DDM

    Working with databases over multiple iSeries systems can be simple when remotely connecting logical partitions with distributed ...

SearchDataCenter

SearchContentManagement

Close