Solved

Next and Previous buttons in $$ViewTemplate

Posted on 2000-04-21
4
465 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 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

Free Tool: IP Lookup

Get more info about an IP address or domain name, such as organization, abuse contacts and geolocation.

One of a set of tools we are providing to everyone 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

  In today’s Arena we can’t imagine our lives without Internet as we are highly used to of it. If we consider our life style just for only 2 min we found that face to face communication is swapped by e-communication.  Every Where from Works place to…
IBM Notes offer Encryption feature using which the user can secure its NSF emails or entire database easily. In this section we will discuss about the process to Encrypt Incoming and Outgoing Mails in depth.
Although Jacob Bernoulli (1654-1705) has been credited as the creator of "Binomial Distribution Table", Gottfried Leibniz (1646-1716) did his dissertation on the subject in 1666; Leibniz you may recall is the co-inventor of "Calculus" and beat Isaac…

740 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