Solved

Next and Previous buttons in $$ViewTemplate

Posted on 2000-04-21
4
460 Views
Last Modified: 2013-12-18
I have created a $$viewtemplate (4.6) to make my views look better on the web, however, I lose the NEXT and PREVIOUS buttons that Domino automatically generates in views.  So basicly I have the first 20 documents displaying on the screen with no way of viewing the next set of 20 documents in my view.  How can I recreate this functionality in my $$viewtemplate?
0
Comment
Question by:snocross
  • 2
  • 2
4 Comments
 
LVL 2

Expert Comment

by:amit_dutta
Comment Utility
Hello snocross,

When u create a $$view template form, the default Next and Previous buttons goes off. If u want to have one, then create hotspots on the $$viewtemplate form and write the following commands for the hotspots:-

For Previous button -> @DbCommand("Domino"; "ViewPreviousPage")
For Next Button -> @DbCommand("Domino"; "ViewNextPage")
For Expand all button -> @Command([ViewExpandAll])
For Collapse all button -> @Command([ViewCollapseAll])

These commands will help u achive the same functionality as the default view buttons.

Hope this will help u out..

Amit
0
 
LVL 5

Author Comment

by:snocross
Comment Utility
I've tried this and maybe I'm confused by what you mean by hotspots.  Are you talking about in Notes I choose Create/Hotspot/Action Hotspot or are you talking about an HTML hotspot or something else?
0
 
LVL 2

Accepted Solution

by:
amit_dutta earned 50 total points
Comment Utility
Hi snocross,

I am talking about notes hotspots. Just type "next" on your $$viewtemplate form. Select the text and choose create/hotspot/action hotspot, then write the formula for the action hotspot. Similarly do for "previous". The formulas are as follows:-
For Previous button -> @DbCommand("Domino"; "ViewPreviousPage")
For Next Button -> @DbCommand("Domino"; "ViewNextPage")
For Expand all button -> @Command([ViewExpandAll])
For Collapse all button -> @Command([ViewCollapseAll])

Hope u get it through this time...

Amit
0
 
LVL 5

Author Comment

by:snocross
Comment Utility
Thank-you, it worked great!
0

Featured Post

Highfive Gives IT Their Time Back

Highfive is so simple that setting up every meeting room takes just minutes and every employee will be able to start or join a call from any room with ease. Never be called into a meeting just to get it started again. This is how video conferencing should work!

Join & Write a Comment

Suggested Solutions

Title # Comments Views Activity
Lotus notes email code 2 113
Domino Lotus Notes Client 4 66
IBM Domino web server 5 61
Using @Prompt in a Queryclose Event 14 79
Lack of Storage capacity is a common problem that exists in every field of life. Here we are taking the case of Lotus Notes Emails, as we all know that we are totally depend on e-communication i.e. Emails. This article is fully dedicated to resolvin…
This article covers general Notes 8.5 troubleshooting information including recreating the Notes\Data folder.
It is a freely distributed piece of software for such tasks as photo retouching, image composition and image authoring. It works on many operating systems, in many languages.
Internet Business Fax to Email Made Easy - With eFax Corporate (http://www.enterprise.efax.com), you'll receive a dedicated online fax number, which is used the same way as a typical analog fax number. You'll receive secure faxes in your email, fr…

744 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

10 Experts available now in Live!

Get 1:1 Help Now