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

Find unused Lotus Notes groups and clean up your address book
Have you ever wanted to get rid of old Lotus Notes groups that were cluttering up your address book, but you weren't sure if they were used? Find Unused Groups can help.

Find Unused Groups will check your ACL, mail, multi purpose and server groups to help you determine if they are used, and who uses them.

Learn how to easily clean up your address book.

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