Search DominoPower's 11,441 Lotus-related article archive 
Home
EasyPrint
News details Click here for the RSS feed's XML code. This is not a browser URL.
Articles-only Click here for the RSS feed's XML code. This is not a browser URL.
Twitter Feed Click here for the Twitter feed.
A dynamic menu management system for the Web and Notes (continued)

To further help the Notes user, I added a column that displays an icon indicating what kind of link the menu item is. If it is just a Notes link, they'll just see an icon of a document. If it's a URL link, they see an icon of a globe indicating it will open a link on the Web. Once users get savvy to this they can prevent the annoyance that is caused when trying to open a link to a Web page when they are not connected to the Web. The final result of all of this can be seen in Figure D.

FIGURE D


Here is how the menu of links looks to the Notes user when displayed in conjunction with a navigator. Roll over picture for a larger image.

The obligatory caveats
No Domino article would be complete without a couple of caveats, and here they are:

When you reorder the Menu Heading Items, you need to re-calculate the formulas on all of the documents created with the Menu Item Form (or Menu Item URL Form) that are affected. I have a button on the Notes view that I use to manage the link that opens a document, puts it in edit mode and then closes it, thereby recalculating all of the formulas. I just cycle through the menu when I need to recalculate the formulas. Or you could write a LotusScript agent to recalculate the formulas on the back end. (If you do, please send me a copy at dan.velasco@adecco.com).

You can't use this system in 4.5 to insert the menu on a $$ViewTemplate form that already has a $$ViewBody field. This may be possible in 4.6 but some of us are still using 4.5. An alternative is to open up a page that is using the menu, view the source and cut out the section containing the menu code. You can then put this in a subform and insert it in a form to imitate the look and feel of the main view. Its usefulness, of course, will depend on how diligent you are about updating it to match the changes in the dynamic view. This is a kludge, but a kludge with good-looking results. The other alternative is just to decide to have another menu for views that is either hard-coded or gets it's value from an @DbColumn formula or the like.

The twisties can be made to disappear if you are using version 4.6. All you need to do is to choose to have the view treated as HTML on the View Properties tab.

Think of the possibilities
There are many other possibilities for improving on this Menu Management System and making it even more robust. Here are three that come to mind:

  • Make an image for each menu item and change the last view column formula to display the image of the menu item and not just the name of the menu item.

  • When the menu is inserted into the frame, you can add a drop-down menu feature. This allows you to select a subset of the links (such as the most frequently visited links) using an @DbColumn formula and include them in a drop-down menu. Then the user only needs to click on a submit button labeled "Go!" and it will transfer them to that page (or open it in the target frame) by using a $$Return field to calculate where to direct them. See the $$ViewTemplate for WebMenuView form in the database for more details.


« Previous  ·  1  ·  2  ·  3  ·  4  ·  5  ·  Next »
Other articles you might like
Home > Lotus Technologies > Notes (84 articles)
   A walk down Memory Lane with Lotus Notes
   An application for scanning physical mail and distributing it virtually
   Managing Notes deployments with Teamstudio Build Manager
Home > Lotus Technologies > Application Development (48 articles)
   An application for scanning physical mail and distributing it virtually
   How hide-whens in Rich Text can ruin your whole day (and what to do about it)
   Little known traps about Lotus Notes fields
Get Weekly Email Updates
Subscribe to our regular weekly email newsletter. It's packed with tips, reviews, deep analysis, and the latest news.
 
Recent DominoPower Articles
Application development, William Shatner, and the origin of the universe
Learn Domino Designer 8.5 for free
The (near) future of Sametime, Quickr, Connections, and Symphony
Inside the IBM Innovations lab
Lotusphere 2010: Hot fixes and cool news for Notes, Domino, and LotusLive
Lotusphere 2010: mobility and collaboration
2010: A Lotusphere of change
Latest Lotus Headlines
Xpages not loading? JVM errors? - Solution
How to implement an iCalendar feed into your Notes calendar with XPages
DWA Hotfixes for Domino 8.5.1FP1 - A Gotcha
IBM Adds DB2 to Lotus Foundations SMB Package
SNTT : XPages onclick Ghosts in the machine
Ports used by Lotus Sametime 8.5 servers
Exploring a Domino Date Bug
>> Read all the news
More from the ZATZ journals
Computing Unplugged: The iPad defenders have spoken
David Gewirtz Online: CNN commentary and analysis
OutlookPower: More about disappearing text
-- Advertisement --

Learn Notes and Domino 8 at your place and pace!
Learn Notes and Domino in your office and/or home! TLCC's highly acclaimed distance learning courses for users, developers, and admins will enhance your career and your resume.

The many included activities and demos will make you a pro! Expert instructor help is a click away.

Click here to try a FREE demo course!!

-- Advertisement --

Struggling with exporting Notes data to spreadsheets? No More!
Try IntelliPRINT, The world's leading Reporting, Dashboards, and Analysis solution for Notes & Domino

  • Don't spend unproductive time maintaining different versions of the same spreadsheet
  • Preserve data integrity and security in multi-user environments
  • Create reports in minutes INSIDE Notes
  • Get freedom from iterative report requests, deliver self-serve capabilities

Experience Reporting, Dashboards, and Analysis INSIDE Notes.

Try IntelliPRINT NOW!

ZATZ Home  ·  News  ·  Back Issues  ·  Credits/Trademarks ·  Link To Us
Copyright © 1998-2010, ZATZ Publishing. All rights reserved worldwide.
Editor's Login