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.
ADVANCED DEVELOPMENT TECHNIQUES
Build your own database analysis tool
By Dan Velasco

What Notes databases do you have on your computer? You've got one minute to print out a list, including titles, file names, and the number of forms, agents and views in each. Ready, set…can you do it?

"I rediscovered why I love using LotusScript. Almost any information you want to get or anything that you want to do is possible if you're patient enough."

Don't fret if you couldn't pass this test. You'll be able to after you read this article and implement the agent it describes. And you won't have to spend extra money on a product that analyzes the databases on your system. All you need is a single LotusScript agent, a form to capture the information and a few views to help you analyze at a glance what you have on your system.

You won't even need to worry about searching through all of your subfolders. The agent will provide a report on all databases off of your main Notes data directory, regardless of whether or not they are in subfolders.

Time to do a little housecleaning?
We've all reached a point when we've had to delete some files off of our computer to save space. We even sometimes have to delete (GASP!) Notes/Domino databases. During a recent spring-cleaning frenzy, I went into Windows Explorer, opened up the C:\NOTES\DATA folder and then chose to view the files by size. This is fine when you're starting on a new computer and you only have a few databases on your local machine, which you can identify by the file names. Now that I've been at my current job for over six months, however, I've got a lot of Notes database files on my local machine and I can no longer identify them by file name alone.

You could browse through the databases by selecting them on the Workspace tab, opening them up by looking at all of the elements, and then deciding if you want to delete them or not. Then you could choose Database->Delete from the File menu to actually delete the database from your hard drive. But if you're like me, you have 14 Workspace tabs and it's a pain to have to go through all of the databases one-by-one and decide what to keep and what to delete. It would be much easier to look at all of your databases in a single view and then immediately drill down to more detailed information about selected databases.

What I needed was something to analyze what databases I had on my computer. Then that something would tell me all the pertinent information I needed to know about those databases to help me decide which ones I should keep and which I should scrap. I also wanted something that would help me when doing development. This tool would list the names of all of the forms and views in a database along with their aliases. Since I always develop with an eye to Web functionality, I use aliases on all of my forms and views so I won't have to insert "+" signs to replace spaces in a name when putting it into a URL.


1  ·  2  ·  3  ·  4  ·  5  ·  Next »
Other articles you might like
Home > Internet Technologies > Logging and analysis (8 articles)
   Boost your server performance with HTTrack
   Keeping user credentials in a frameset
   Using probes to monitor your Domino servers
Home > Lotus Technologies > Notes (78 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
   Troubleshooting an OpenSuse Notes install
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 --

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