Search DominoPower's 10,675 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.
DOMINO WEB COMPONENTS
Global Web profile documents
By Daniel Koffler

Even though I'm a long time advocate of designing Web applications in Domino, I've developed a few pet peeves over the years. Anyone who has used Domino to build Web applications can probably sympathize. The biggest of these is the fact that there are a host of features that have been available to developers targeting the Lotus Notes client for years that are still not available in the browser. This is the second article in a series that intends to fill your toolbox with re-usable widgets, code-snippets and tips that will make programming Domino web applications into a friendlier experience.

Domino profile documents
Profile documents are mysterious Domino creations, as they are created with a form, but they never appear in any views or in the database document count. Profile documents are excellent at storing user customization preferences for two reasons. First, when a profile document is created, you can give it a key such as @username, and later use the same key for retrieval of info from the document. The second reason is that profile documents are cached when the database is opened, so access to profile document data is speedy.

Unfortunately for Web developers, profile documents are almost useless in a browser. The same caching that makes profile documents so fast is incompatible with the HTTP (Hyper Text Transfer Protocol) engine's caching system, and thus causes huge headaches such as different HTTP engine threads having different versions of profile document caches. The Domino Designer documentation makes it seem like the commands @GetProfileField() and @SetProfileField() should work on the Web, and they do -- kind of. But the caching issues ensure you will never know if you have the latest profile document data.

Fortunately, it's easy enough to simulate the functionality of profile documents on the Web. This article will show you how to simulate a global profile document on the Web, and my next article will show you how to create user based profile documents for your Web applications.

The first article in this series showed you how to add a Web popup calendar that lets users select a date from a calendar to fill a field. One of the major advantages of this calendar is that it's a "pure Domino" solution, so customization is easy. To illustrate the profile document simulation technique, we will extend our popup calendar form, making it multilingual. Don't worry if you didn't read the last article (although I would recommend it), you don't need to know anything about how the popup calendar works to learn how to use profile forms on the Web.


1  ·  2  ·  3  ·  4  ·  5  ·  Next »
Other articles you might like
Home > Lotus Technologies > Domino (69 articles)
   Centralised email encryption at the Domino server level
   Getting the Domino server time with @Now
   When the email flood inundates the Domino Server
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
What to look for in a Domino-based document management solution
Understanding Domino.doc end-of-life options
When the debugger won't debug hidden code that isn't hidden
What to do if the LotusScript debugger won't single-step over code
Top 10 ways to launch and build a Lotus consulting practice (with a little help from the Beatles)
Troubleshooting an OpenSuse Notes install
Incident report: denial of service attack against ConnectedPhotographer.com
Latest Lotus Headlines
SnTT - Enabling ALL the bells and whistles!
Tivoli Data protection causes Domino to crash
Fun when running DB2 CLP scripts
Introducing Flippr, the easy way to admin Quickr
DXL and fake security
Using search forms in IBM Workplace Collaborative Learning 2.7
Schmidt, Freed, and Gering on the OVF Toolkit
>> Read all the news
More from the ZATZ journals
Computing Unplugged: Eight steps to successful and reliable home backups
David Gewirtz Online: CNN commentary and analysis
OutlookPower: Can Outlook run when it's not running (and other mysteries)?
-- Advertisement --

SECURTRAC - MONITOR AND CONTROL YOUR DOMINO ENVIRONMENT
When it comes to your business, how do you ensure compliance with SOX, HIPAA or other industry driven regulations? Use SecurTrac to monitor and audit the life cycle of all objects in your Domino environment.
  • Database Monitor
  • Mail Monitor
  • Domino Directory Monitor
  • Notes.ini File Monitor
  • Intrusion Detection Monitor


Click here for details and a free evaluation copy.
-- Advertisement --

Good Practices... Better Practices... Teamstudio.
Implementing good practices in your Notes environment doesn't have to be complicated.

Teamstudio provides software and services for efficient Notes development and simple, secure administrator control. Our new website also provides users with a library of resources to help, including:

  • Ready-to-implement policies for good practice development and deployment in Lotus Notes
  • On-demand webinars on topics ranging from tips for better coding, to securing your applications, managing agents, and streamlining your application deployment process
  • Free utilities for download to help you more more efficiently tackle several specific tasks in Notes development
Visit our library of white papers to help you take on difficult issues in your Notes environment.

Drop by our new website and take a look!
ZATZ Home  ·  News  ·  Back Issues  ·  Credits/Trademarks ·  Link To Us
Copyright © 1998-2009, ZATZ Publishing. All rights reserved worldwide.
Editor's Login