Manage Learn to apply best practices and optimize your operations.

Alphabet View Index For Website

On a lot of websites which have lists, you see the alphabet off to the side and
clicking on a letter will take you to the first element in the list starting
with that letter. This is much more user friendly than the default view
navigation links provided by Domino. You could write out the alphabet, and make
each letter a URL link into a view using StartKey to start at the proper
position, but that's time consuming and what happens if there is no entry
starting with that letter? Try putting this code into computed text to generate
the alphabet on the fly, only including letters that are present in the list:

(We have this as the left frame of a frameset, thus the 'target='. I'm sure it
would work just as well simply at the top of a page without the 'target='.)
ExistingLetters := @Unique( @Left( @DbColumn( "":""; "":""; "ViewName"; 1 ); 1
) );

@Implode( "&LTa href=\"ViewName?openview&startkey=" + ExistingLetters + "\"
target=\"Main\">" + ExistingLetters + "</a>" )

Dig Deeper on Domino Resources - Part 2

Start the conversation

Send me notifications when other members comment.

Please create a username to comment.




  • 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 ...