Notes Ninjas Notes Ninjas
Lotus Notes hints, tips, error messages
Next and Previous in Web Views messed up by Notes Server Version 6

Hint Short Cut: Add this to your code & documentation to help you find this page.
http://www.notesninjas.com/#WebViewNextPrev or http://www.notesninjas.com/A555F9/nn.nsf/ByAlias/WebViewNextPrev


Notes 6 server is pretty compatible with Notes 5 Server, one annoying problem is the web view  next and previous or prev  pages. Here is the solution.





To add buttons to move up and down in a web view the commands used to be:

 

@Command([ViewPageDown])

@Command([ViewPageUp])

 

If you check the designer help for ViewPageUp or ViewPageDown they are not there any more!

But you can still save a $$ViewTemplateDefault form etc with the commands, the notes 6 server will not interpret them and will just make the links unclickable.

 

What you have to do now is:

 

@DbCommand("Domino" "ViewPreviousPage")  

@DbCommand("Domino" "ViewNextPage")

 

So ViewPreviousPage and ViewNextPage are what you need.

Not sure why this has been done for view the next pages etc. The commands translate the &start etc into the url automatically.

This is probably the case for Notes 7 as well.

Now Lotus and IBM are usually very good at this sort of thing, making versions updwardly compatible but this is the sort of small but crucial change which is not good. Upgrade your servers and then all your users cannot see the next page. Nightmare.

Naughty IBM don't do it again.

NB:If the action hotspots are ticked with text property  Pass-Thru HTML  and then re-saved they turn into non links.

 

 

 

 

 Jump to:     Notes Tips
    Lotus Notes Index 
  Register for Tips
Previous Lotus Notes Tip 
    Next Lotus Notes Tip, Next Lotus Notes Tip
Your company logo here?
Adam Foster
Free Cash Making Web Site
Free Revenue Earning Blog Site
 Free Revenue Earning Newsletter Site   
Free Search Pages Free Web stats
Free Contact Us page
Cheap .com domain names
 Need a website or 
   Lotus Notes
  problem solved?
Adam Foster
Lotus Notes and Domino 6 Programming Bible by Brian Benz, Rocky Oliver
Covers all the programming techniques, concepts, and languages used with Notes and Domino, as well as the many new features of Domino 6 Thoroughly examines the Notes and Domino role with Java, XML, Web services, and other IBM products and technologies Provides extensive code and examples, many geared to the needs of administrators High-profile authors, known to their audience through conferences and articles Companion Web site shows example applications from the book running on a live Domino server and provides code download.
See at: Amazon.co.uk | Amazon.com |