Wednesday, May 11, 2011

Windows 7 security is bad for Lotus Add-ons




Having av new laptop with Microsfot Windows 7, I wanted to follow software recommended settings when installing IBM Lotus Notes 8.5.2. This was a mistake.



When starting the installation the suggested paths are C:\ Program Files(x86)\IBM\Lotus\Notes and C:\Program Files (x869\IBM\Lotus\Notes\Data.



This works fine, and I used my client for a week now.



But then came the need for Teamstudio Script Browser 3.0. Trying to installed it failed.


The installation program does not have access to the Program Files (x86) folder.



I did not try NotesHound or any other programs that wants to copy dll files into the Lotus Notes Program directory, or editing the notes.ini for that matter.



Trying to run the Lotus Notes client as administrator, and then run Teamstudio Script Browser, but no avail.



So my only option wa to uninstall, and reinstall the Lotus Notes client, outside the Program Files (x86) this time.



Newer software may very well handle this security feature in Microsoft Windows 7 but just be be on the save side, and to be able to use older but good software that hooks in to the Lotus, Notes Client stay clear of the Program Files (x86) folder.




You have been warned.

Thursday, May 05, 2011

The Best Tool I use!!



The best tool for Lotus Notes Delevopment is Openlog logging application.

Why? It's a real timesaver. The ease of use and the accurate information it provides is really helpful when debugging applications.

I hardly ever use "Tools ->Debug Lotusscript" these days. I just pop in the OpenLogFunction script library, and enter statements to log event or and error.

When and error occurs, or I want to check what path my code takes in if, case or any other flow control statements, I can use a function called LogEvent.

The real power is the log documents the application creates. You get user infomation, user access levels, call stack, line where error occurs etc. You can even provide a document link for the a document you want to inspect when an event is logged or an error for that matter.

Any Lotus Notes developer should check out this application, and start using it when developing, and debugging.