Archive

Archive for the ‘LotusScript’ Category

Use LotusScript program Changing Database Icons

Are you one of those people who haven’t gotten away from the workspace in Notes 5 or 6? If so, you’ve probably come to love the little icons on each of the databases. This tip shows you how to programmatically change the icon using LotusScript by creating a nightly agent, so each day your users will have a new icon to see. You could even set it up so the icon is changed every time you open the database. Think this is stupid? I can tell you from experience that implementing this makes users want to go into the database. They want to see what the “icon of the day” is, and then they end up reading information in the database.
Read more…

Viewed 7327 times by 2389 viewers

Lotus Notes Quickly Collect All Documents Techinque

I’m sure you’ve developed applications where it was important to know how many documents meeting a certain criteria there were in the database. There are multiple ways of doing this, but here we’ll point out one you might not have thought of. It makes use of Notes built-in ability to handle view indexes with efficiency.
Read more…

Viewed 8649 times by 2790 viewers

Use LotusScript Split/Join To Remove Entry From A List

Recently I was working with arrays in LotusScript. Each element of the list was a text string. I had a need to remove an element from the list. There are lots of different ways to do this, and here is one more.

Read more…

Viewed 9494 times by 3354 viewers

Easy way to Open Up Lotus Notes Document To All Authors

Recently we had a situation where people have author access to a database, but a certain document in the database needed to be opened up to everyone. Normally, Authors fields contain a list of the people who can edit the document, and those with Author access to the database not listed in the Authors field cannot edit the document. An Authors field can take */O=YourCompany as a value to open up the document to everyone with that final qualifier in their ID file, but how do you open up a document to everyone, regardless of their ID file?

Read more…

Viewed 7887 times by 2001 viewers

Fix LS2J error causes java.lang.StackOverflowError

When you use an LS2J agent to connect to an external database and retrieve large amounts of data, then create a new JavaObject for each row of data, the following error occurs:

“LS2J Error: Threw java.lang.StackOverflowError”

Read more…

Viewed 10427 times by 2403 viewers

Way to Backup Lotus Notes Windows Directory

Here at Breaking Par, we make daily backups of all our customer’s HTML files to a backup machine. The backup was done through a Windows batch file using the XCOPY command to copy all the files that had been modified. We have been doing this for a long time without much thought.

Recently, we took a look at the directories and noticed there was extra files in the backup subdirectory that didn’t exist in the main directory. After some research, we determined that the files were deleted in the main directory and never deleted in the subdirectory. After a little research, we were able to figure out how to get a true backup using only Windows batch files.

Read more…

Viewed 7541 times by 2201 viewers

Preventing Notes Access Lotus Notes Application Tip

We were developing a new web site for a customer when we had an odd request – they wanted no Notes access whatsoever to the application. They wanted to force their users to access the application through a web browser. Normally, at least some kind of administrative access would happen through Notes, but that wasn’t even wanted in this case. How did we satisfy this requirement?

The first thing we’ll point out is that experienced Notes users will find a way around anything, so it’s very difficult to make the application 100% inaccessible to Notes. But these tips make it very difficult to access the application through Notes, and will stop 95% or more of the users (novice to intermediate experience levels) from accessing the application through Notes.

Read more…

Viewed 9713 times by 2659 viewers

Way to use Soft Deletes And Response Documents

We’ve used soft deletes before, but never with response documents. So when our first project asking for that came about, it was time for some testing. And just like regular deletes can result in orphan documents, recovering soft-deleted documents can result in orphan documents. For example, let’s say you’ve soft-deleted a document and its parent.

If you restore the child, then the parent is still soft-deleted, so the child becomes an orphan in production. Conversely, if you restore the parent and not the child, that child, although not an orphan, might not be visible to your “deleted documents” views depending on how they were set up, so it might not be possible to restore that child.

Read more…

Viewed 9225 times by 2531 viewers

How to Check Users Replicate database

With a distributed application like Notes, one of the problems is that someone can have a local replica and not replicate for a while. This can cause problems like previously deleted documents reappearing, or replication conflicts. This tip describes one way of reminding users to replicate at least somewhat frequently. If the user hasn’t replicated in a week or more, they are reminded to replicate so they’ll have the latest information.

Read more…

Viewed 7121 times by 2243 viewers

Lotus Notes Embedded View – Play with selected document

We have many way to use Lotus Notes Embedded View in form for user can easy to use doc child. Let’s say that you for some reason have a form with an embedded view that lists a bunch of documents. You would like to mark one of the documents in the embedded view and get a grip of this document and do something with it. This is how I have solved it (with some help form the IBM developerWorks forums).

Read more…

Viewed 7340 times by 2258 viewers