Search DominoPower's 11,443 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.
MORE POWER TO THE USERS
Those pesky keyword lists
By Brent Hawthorne

Ever get tired of making changes to a static keyword list? Ever have users complain about the lack of control available from the ever-expanding open keyword lists? There are alternatives that allow your users to have a controlled list of keywords, but keep you from having to go back into the code every time a list needs to be changed. I'm going to show you one way to do this that will let you pass management of those lists off to your users or administrators.

Setting a keyword list up for user management involves very little extra work, and offers great returns (especially in time). While it's not perfect for all situations, it's great for most.

There are four steps involved in setting up a keyword list, and once the first two are completed, they're there for all your configuration needs across the application.

Setting up a keyword list
To set up a keyword list, you must first create a configuration form, shown in Figure A.

FIGURE A


Here's an example of a minimal configuration form that can be used for managing list values. Roll over picture for a larger image.

I used a very simple form with only three fields:

  • ListName, which is categorized as the first column in the Lookup Categories view

  • Description, which, strangely enough, is used to hold a detailed description of what this document is intended to do

  • List, which is a multi-value field holding the values for the keyword list. This is also the value of the second column in the view.

This functionality can also be provided through a profile document or a data dictionary, but I'll leave that as an exercise for you to try at home.

Next, design a view, as shown in Figure B, which you can use to pull the configuration information out. Here, I'm using a hidden view with an alias of Lookup Categories. This view has the list of values available in the second column and the lookup name categorized in the first.

FIGURE B


Pictured is a configuration view, used for looking up keyword lists and other configuration information. Roll over picture for a larger image.

With the configuration form and view in place, you can reuse them for all of the keyword lists you may want to make more manageable in the application. All you need to do is assign each keyword list a unique name to look up and add a configuration document with that title.

Now, set the keyword field properties to Editable and Use Formula For Choices, as shown in Figure C.

FIGURE C


This is the property box showing the keyword field settings. Roll over picture for a larger image.


1  ·  2  ·  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 > Tips & Techniques (102 articles)
   More about Domino log files
   Why your log.nsf might not be purging properly
   A faster way to repair corrupted server files
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
Syncing Notes with Android phones
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
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: Online safety for virtual learning
David Gewirtz Online: CNN commentary and analysis
OutlookPower: Seek and find: Strategies to locate filed-away emails fast
-- 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 --

Integrate your Notes Applications with Microsoft Office and Symphony
Integra for Notes Integrates Microsoft Office and/or IBM Lotus Symphony
Requires NO change to the design of the appliation or Installations of DLL's and EXE's
  • Integra is a ready to use solution, enhance static reports with Excel data analysis, pivot tables, macros
  • User friendly aproach, using a point and click access to features
  • Reports from any Lotus Notes databases
  • Runs reports through a Notes client, web browser and scheduled basis
  • Allows use of LotusScript for advanced data manipulation
  • Enables self service reporting capabilities to end-users


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