[Okta Webinar] Learn how to a build a cloud-first strategyRegister Now

x
?
Solved

Next and Previous buttons in $$ViewTemplate

Posted on 2000-04-21
4
Medium Priority
?
471 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 200 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

Free Tool: Subnet Calculator

The subnet calculator helps you design networks by taking an IP address and network mask and returning information such as network, broadcast address, and host range.

One of a set of tools we're offering as a way of saying thank you for being a part of the community.

Question has a verified solution.

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

I thought it will be a good idea to make a post as it will help in case someone else faces these issues. I trust this gives an idea how each entry in Notes.ini can mean a lot for the Domino Server to be functioning properly. This article discusses t…
This article covers general Notes 8.5 troubleshooting information including recreating the Notes\Data folder.
Please read the paragraph below before following the instructions in the video — there are important caveats in the paragraph that I did not mention in the video. If your PaperPort 12 or PaperPort 14 is failing to start, or crashing, or hanging, …
Screencast - Getting to Know the Pipeline
Suggested Courses

834 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