|
|
|
|
|
|
|
|
|
|
|
|
|
|
THIS WEEK'S POWERTIP
Holding position while switching views
By Mick Moignard
This is a real old one that I remember from Notes 2 days, but recently I found it real useful, and, noticing that my Notes co-workers didn't know of it, figured that it was worth running out again.
The project I'm working on involved some very complex and quite convoluted LotusScript agents, and in them my co-worker and I have constructed a reasonably simple debug and progress reporting model, which involves the use of Notes Agent Logs, done to an agent log database -- using NotesLog.OpenNotesLog and the alog4.ntf template.
Problem was that each run of the agent might, in some cases, write 2000 debug and progress lines into the log, and it soon became hard to find any issues, even though lines written to report errors are marked with a big red X in the view. So I added a new view, same as the supplied one, but which only displayed errors. Simplified the process of looking up the debug log data no end. It was cool. Now here's the tip:
Let's say you look at an error, and then want to see it in context of the rest of the log around it. Doing that is easy; just hold down CTRL while you switch to the other view. If you hold CTRL while switching views, Notes retains document position as it opens the new view (if it can).
So the new view opens with the bar on the error line, directly in the centre of the screen, and shows you the error in context. It becomes real easy to switch back and forth to find each error, and then see it in relation to the other debug records around it.
Told you it was cool.
Mick Moignard has been working and traveling with Lotus Notes since Release 2.0 in 1991. Mick is a DominoPower Senior Technical Editor and a Principal CLP with Unipart Expert Practices, a Lotus Advanced Partner in the UK. If you want to discuss anything to do with this article, or indeed anything else to do with Notes and Domino, contact Mick at Mick_Moignard@unipart.co.uk. Unipart Expert Practices will also happily discuss any opportunities you may have with any Notes and Domino application development or infrastructure projects you need help with. Unipart Expert Practices can be found at http://www.unipartep.com.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
-- 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 --
Teamstudio Edition 25 has shipped
It's finally here! Now that Teamstudio Edition 25 has shipped, listen to our latest Tool Time audio program to find out what's changed. Updates to all your favorite Teamstudio tools will be discussed.
Plus, you'll get an introduction to Teamstudio Undo (formerly known as Teamstudio Snapper).
Tap here to get started! |
|
|
|
|
|
|
|
|
|
|