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.
How to use UI standards to cut your Notes development time by 15% or more (continued)

When creating the About Database Document, we made sure certain questions were answered for each database:

  • What is this database?
  • Who created this database?
  • Who will maintain this database?
  • How do I use this database?
  • Who manages this database?

Likewise, we wanted to make sure the Using Database Document answered a certain series of questions:

  • What types of data are in this database?
  • What forms are in this database?
  • How do I create new documents?
  • What views are in this database?

What are other design components that can help with these standards?
In my earlier article, I demonstrated how to create a standard subform to be used at the top of your forms. In looking at the lists above, you can probably see several places where it would possible to create design objects like views, folders and navigators that can be "pre-built" with the correct style and then modified to fit the need of a specific application. To complete this article, I'd like to define just one of those objects: a subform to handle the bottom of your Notes forms. Here we go.

The standard form footer
Many Notes developers like the bottom of their form to display information about the current document. Information like the date that a document was created, the date of the last edit and the document's author is helpful to the users of the application and support personnel alike.

To get started, let's create a subform and call it "StdFrmFooter". We'll place four fields and some static text on the subform as shown in Figure A.

FIGURE A


Our StdFrmFooter subform can look like this. Roll over picture for a larger image.

In order to keep this subform simple, we'll only place four fields on it. And in order to keep the subform completely re-usable, we should use the standard Notes fields $UpdatedBy and $Revisions to retrieve most of the data. $UpdatedBy contains a list of the people who have edited this document for forms that are not anonymous. $Revisions is a list of datetime values that record when a document has been edited.

Although Notes will sometimes automatically purge some of the entries in these fields, for our purposes it's fair to assume that the last editor and edit date will always be available if these fields are there. An example of the fields is shown in Figure B.

FIGURE B


$Revisions and $UpdatedBy are almost universally available in all Notes documents. Roll over picture for a larger image.

Those give us two of our four fields; what about the other two? Using the @Created function, we can always know when a document was created.

What about the creator of a document though? @Author won't always work, so in order to accommodate anonymous forms and to be sure we know who created a document, we'll need to save a field on each document. In this example, I'm using a field called Ftr_CreatedBy. Because we can't interfere with workflow applications that use Author fields to control security and we need to determine whether a form is anonymous, the Ftr_CreatedBy field needs to be a Computed Text field. Finally, in order to keep everything on the form looking tidy, we'll use "Hide when" formulas to suppress the display of unavailable information.


« Previous  ·  1  ·  2  ·  3  ·  4  ·  5  ·  Next »
Other articles you might like
Home > Strategies > Migration (19 articles)
   DominoPower TV Episode 1: Inside a strategy session with Teamstudio
   Understanding Domino.doc end-of-life options
   Fun rolling out a Notes upgrade
Home > Lotus Technologies > Older Releases > R5 (19 articles)
   More archive fun
   A Notes release in Dilbert-land
   Tips for being more productive with Notes R5 mail
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
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
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 --

Sophisticated Meets Simple For Document Management
Share. Control. Manage.
Documents, emails, and content in the context of how work is done. Native to Lotus Domino. The User Experience unseen for Lotus Domino. Do more with less. Really.

See the possibilities Docova unleashes for Lotus Domino.
-- Advertisement --

Mark your calendar for in-depth Lotus training, May 12-14, Boston
Join experts and peers May 12-14 in Boston for educational and networking events that deliver real-world Lotus training so you can increase productivity and efficiency in your company, advance your skills, and squeeze the most from your current environment. One registration gets you into THE VIEW's Admin2010 and Lotus Developer2010.

Register by April 10 to save $200.
ZATZ Home  ·  News  ·  Back Issues  ·  Credits/Trademarks ·  Link To Us
Copyright © 1998-2010, ZATZ Publishing. All rights reserved worldwide.
Editor's Login