Search DominoPower's 11,323 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.
PROGRAMMING POWER
Control your application's agents with this Agent Launchers tool
By Jonathan Coombs

After delivering an application, have you ever wished you or the application's administrators had more control over the application's agents? Have you ever needed to quickly disable a scheduled agent that was generating errors in production?

Notes provides a rich set of options for configuring and controlling manual and scheduled agents through the Designer client, but for good reasons these options are only available as design changes to developers with Designer access. I always avoid making design changes directly to production databases, and many Notes infrastructures prohibit such changes anyway. Still, I often want to make small agent adjustments directly in production without having to go through a full design refresh of the production database.

The Agent Launchers tool presented in this article provides several features that I've found useful in maintaining tight control over the agents in production applications. They are most useful in infrastructures that prevent developers from having Designer access to any production databases, but they can provide enhanced agent control for an application in any Notes and Domino environment.

The manual menu launcher provides dynamic control over the lists of menu agents that different users (e.g., developers, application administrators, default users) can see and execute. It allows scheduled agents to double as menu agents, and it allows agents to be "renamed" or removed without making design changes. This can increase the flexibility and robustness of an application while simplifying the designs of its agent.

The application is pictured in Figure A.

FIGURE A


You can select agents as shown here. Roll over picture for a larger image.

The agent scheduler mimics the Notes Designer interface for scheduling agents, but it allows you to do so without making a design change. This is useful if you or the application's administrator needs to enable, disable, or modify an agent's schedule to deal with changing needs or an agent that is out of control. It's also helpful to be able to view all of the available agents and agent schedules through an application's user interface, as shown in Figure B.

FIGURE B


You can view all of the available agents and agent schedules. Roll over picture for a larger image.

Design standards
All design elements and script variables in the sample database follow common naming conventions. This helps make code references much easier to read, and it makes it easier to search for a specific element. For example, even with a good analysis tool, it can be hard to find all references to a lookup view named "Order" if you also have an "Order" form, an "Order" page, an "Order" script variable, and an "Order" field. It's much clearer to name these "vwLookOrder", "frmOrder", "pagOrder", "varOrder", and "fOrder", respectively.


1  ·  2  ·  3  ·  4  ·  5  ·  6  ·  7  ·  Next »
Other articles you might like
Home > Lotus Technologies > LotusScript (64 articles)
   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
   Little known traps about Lotus Notes fields
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
Lotusphere 2010: mobility and collaboration
2010: A Lotusphere of change
Five trends for 2010
DominoPower TV Episode 1: Inside a strategy session with Teamstudio
More about Domino log files
Say goodbye to the Uh-Ohs. Long live the Tens.
Why your log.nsf might not be purging properly
Latest Lotus Headlines
Recommended Maintenance - Lotus Notes Traveler
Here are the slides and other materials from our Lotusphere session
Microsoft OCS awareness in Lotus Connections and Websphere Portal?
SnTT: XPages Blank Calendar Control (Part 2), adding data
Have your Lotus Notes calendar display multiple time zones
Sample Database for Microsoft Office and Lotus Symphony Integration
Symphony 3.0 beta signals another attack on Office
>> Read all the news
More from the ZATZ journals
Computing Unplugged: The iPad: Apple's latest heartbreaker
David Gewirtz Online: CNN commentary and analysis
OutlookPower: Running auto-respond rules when Outlook is closed
-- 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 --

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