Manage Learn to apply best practices and optimize your operations.

Remove "No Documents Found" message from empty views

I have always been annoyed by that big "No Documents Found" message on empty web views. Here's how to remove it.

I have been developing Web-based Domino applications for about 4 years now. I have always been annoyed by that big "No Documents Found" message on empty Web views.

I have developed several ways to remove this message. Here is the easiest.

Add this code to the form that the view is embedded in or the $$ViewTemplate form for the view.

This code makes all H2 text in the document invisible. Remember to make the color of the text the same color as the background.


REM "Just add this code to the HTML Head Content event in R5";
REM "or the $$HTMLHead field in 4.x";
REM "Make the color of the text the same color as the background.";

"<style type="text/css"> <!--    
H2{ color: #FFFFFF; }
--> </style>"

Dig Deeper on Domino Resources - Part 6

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