Manage Learn to apply best practices and optimize your operations.

Displaying a custom icon view column in Xpages

Get the JavaScript code necessary to display a custom icon view column in Xpages.

There is an excellent article on the Web that explains how to use an icon view column in an XPage.

More on XPages:
An introduction to using XPages in Domino 8.5

Setting up a Domino 8.5 XPages example

With the article and its comments in mind, I came across a task in my Notes client development that required me to display a custom icon view column.

In my example, I've Web-enabled a Notes application using XPages, with several views using my custom icons for my priority fields (low, medium, etc.).

The modified JavaScript code below explains how to display a custom image resource.

JavaScript to display custom image resource
(Click on code for enlarged view and script download.)

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

This tip was submitted to the tip library by member Pablo Solano. Please let others know how useful it is via the rating scale below. Do you have a useful Lotus Notes/Domino technical tip or code snippet to share? Submit it to our monthly tip contest and you could win a prize.

Dig Deeper on Lotus Domino Server 8



  • iSeries tutorials'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 ...