Web Search Results Nav Buttons and $$File On Web

Hi, I hope someone can help me, I have got a couple of problems with a web app I am developing.

First of all, I have added forward and back navigation buttons onto the $$viewtemplate using the @DbCommand(“Domino”; “ViewPreviousPage”) and “ViewNextPage” commands.

These work fine but I have built a $$searchtemplate to display search results. I have used the same buttons but when I do a search and press the button to see the next 10 or so results, I get the error. Error 500

HTTP Web Server: Lotus Notes Exception - @Function is not valid in this context.

As I said, they work fine in the viewtemplate when viewing all documents. Please help.

The other thing is when I go into each document on the web, any file attachments on the main document are showing at the bottom of the web page.

I am using a web form and a notes form, both have the same name and hiding each form for each different client (web browser or notes). Usual practise I think. . . .

I do not want these file attachments showing at the bottom of the web document, how can I stop them showing but still have attchments on the document??

Many thanks,

Matt.

Subject: Buttons and Files

  1. Check Designer Help “Customizing Search Forms”, section “Using navigational buttons for paged results”.

  2. Add a field called $V2AttachmentOptions and assign it the value “0”.

Subject: RE: Buttons and Files

Lawrence,

Thanks for taking the time to help me.

The $V2 field has done the job.

I will have another look at the help as I did not fully understand how to construct the URL.

Have you any tips/information on how to construct the URL?

Many thanks,

Matt.

Subject: RE: Buttons and Files

Perform the search repeatedly including the Start and Count parameters in the search to control which documents are contained in the “page” of search results.