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.
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 (47 articles)
   How hide-whens in Rich Text can ruin your whole day (and what to do about it)
   Little known traps about Lotus Notes fields
   Integrating a Notes Connector database with Google Enterprise Search
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 --

Learn Notes and Domino 8 at your place and pace!
Learn Notes and Domino in your office and/or home! TLCC's highly acclaimed distance learning courses for users, developers, and admins will enhance your career and your resume.

The many included activities and demos will make you a pro! Expert instructor help is a click away.

Click here to try a FREE demo course!!

-- Advertisement --

Want The Top Lotus Experts By Your Side Without Paying Hefty Consulting Fees? Look No Further.
Like having a team of consultants by your side -- ones who have all the answers and never make mistakes -- THE VIEW gives you immediate access to field-tested instruction, guidance, and best practices from the brightest Lotus professionals around.

Join your peers who realize their Lotus technology is too important to let people from blogs and forums tell them how they should implement it, run it, and use it. THE VIEW is where only the world's top Lotus experts provide validated support to you on a weekly basis to ensure you work more efficiently, get more out of your Lotus technology, and stay clear of costly mistakes.

Check out the new instruction, tips, and best practices added to THE VIEW this week.

ZATZ Home  ·  News  ·  Back Issues  ·  Credits/Trademarks ·  Link To Us
Copyright © 1998-2009, ZATZ Publishing. All rights reserved worldwide.
Editor's Login