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

  • Favorite iSeries cheat sheets

    Here you'll find a collection of valuable cheat sheets gathered from across the iSeries/ community. These cheat ...