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.
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 (77 articles)
   More about Domino log files
   Why your log.nsf might not be purging properly
   Sloppy analysis at the core of another Domino vs. SharePoint report
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 --

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 --

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