Solved

Next and Previous buttons in $$ViewTemplate

Posted on 2000-04-21
4
463 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
ID: 2741291
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
ID: 2743593
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
ID: 2752324
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
ID: 2752382
Thank-you, it worked great!
0

Featured Post

Master Your Team's Linux and Cloud Stack!

The average business loses $13.5M per year to ineffective training (per 1,000 employees). Keep ahead of the competition and combine in-person quality with online cost and flexibility by training with Linux Academy.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

For Desktop Techs: How to retain a user's Notes configuration data when swapping out the end user's computer. (Assuming that you are not upgrading to a completely different version of Notes client) All you need to do is: 1) install Notes o…
Notes Document Link used by IBM Notes is a link file which aids in the sharing of links to documents in email and webpages. The posts describe the importance and steps to create a Lotus Notes NDL file in brief.
This Micro Tutorial demonstrates using Microsoft Excel pivot tables, how to reverse engineer competitors' marketing strategies through backlinks.
Email security requires an ever evolving service that stays up to date with counter-evolving threats. The Email Laundry perform Research and Development to ensure their email security service evolves faster than cyber criminals. We apply our Threat…

803 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