IBM®
Skip to main content
    Country/region select      Terms of use
 
 
   
     Home      Products      Services & solutions      Support & downloads      My account     
 
developerWorks
AIX and UNIX
Information Mgmt
Lotus
New to Lotus
Products
How to buy
Downloads
Live demos
Technical library
Training
Support
Forums & community
Events
Rational
Tivoli
WebSphere
Java™ technology
Linux
Open source
SOA and Web services
Web development
XML
My developerWorks
About dW
Submit content
Feedback



developerWorks  >  Lotus  >  Technical Library
developerWorks



Tips from LDD

More on generating dynamic Web reports


Tips submitted by
Zann Dougan and Kevin Vanriper


Level: Beginner
Works with: Notes/Domino
Updated: 06/02/2003

Related link:
More Tips from LDD


Editor's note: In the April issue of LDD Today, we published a tip describing how to generate dynamic Web reports using the &SearchView&Query URL command. Some of you responded with additional information, so this month we publish that additional information regarding the original tip.

First, to use the method described in the tip, "Generating dynamic Web reports," you must first full-text index the database from which you want to generate the reports. This may seem obvious to many of you, but we neglected to mention it when we first published the tip.

Second, according to original tip, the URL syntax for generating the reports is as follows:

http://servername/database.nsf/viewname?SearchView&Query=(FIELD+Fieldname+=+Fieldvalue)

We stated that you could append more fields to the URL using this syntax; however, Domino has a maximum number of characters for URLs. Using this method, you may quickly reach the maximum URL length. However, you can shorten the URL using a different syntax. Instead of using:

FIELD+Fieldname+=+Fieldvalue

you can use:

[fieldname]=text

For example, the following URL:

http://www.lotus.com/ldd/today.nsf/Date?SearchView&Query=(FIELD+Authoredby+=+Tara%20Hall)

produces the same search results as this shorter URL:

http://www.lotus.com/ldd/today.nsf/Date?SearchView&Query=[Authoredby]=Tara%20Hall

The plus (+) signs are not needed around the equal (=) sign, so you can save four characters for each field that you append to the URL.


SUBMIT YOUR TIPS!
We encourage you to send us your tips (You can also click the "Would you like to submit a tip?" graphic below.) Your tips can be anything you've discovered about any Lotus product. The most important thing is that your tip be interesting, useful, or handy. And be sure to include complete information about how your tip works. For ideas, take a look at our tip archives. If we publish your tip, we'll send you the IBM Redbooks Lotus Collection on CD.






Would you like to submit a tip?
    About IBM Privacy Contact