Archive

Archive for the ‘Lotus Notes Solution’ Category

Lotus Notes Web Using A Base Href

In Lotus Notes Web, You’re probably familiar with the famous formula:
@ReplaceSubstring(@Subset(@DbName; -1); “\\” : ” “; “/” : “+”)
which will take the path to the current database and make it “browser-friendly”.

After getting sick of adding this to every single link and image tag that needed it, we decided there had to be a better way.
Read more…

Viewed 8021 times by 1946 viewers

Lotus Notes Error: “Unable to interpret time or date” when changing manager of room In Resource Reservations database

As an Lotus Notes administrator, you attempt to change the manager of a room in the Resource Reservations database. However, you receive the error : Unable to interpret time or date
This error can also occur when creating a new room in the Resource Reservations database.
Read more…

Viewed 7817 times by 2125 viewers

How to fixed Scheduled agent returns error: ‘You are not authorized to use the remote console on this server’

The SendConsoleCommand is a LotusScript back-end method, introduced in Lotus Notes/Domino 6. This method can be used in a scheduled agent on a server to send console commands to the current or to a remote server. However, a Scheduled agent running session.SendConsoleCommand can return the following error message:

“You are not authorized to use the remote console on this server”.
Read more…

Viewed 7512 times by 2420 viewers

Lotus Notes Replication – Tips

Why are deleted documents reappearing?

A purge interval prevents replication of deletions
When a document is deleted, it leaves behind a deletion stub. When the database replicates, the deletion stub is used to identify and delete the same document in the replica. To save disk space, Notes purges deletion stubs that remain from document deletions according to the replication setting “Remove documents that have not been modified within the last [ ] days.” If Notes purges the deletion stubs before they have a chance to replicate, deleted documents can reappear after the next replication.
Read more…

Viewed 8432 times by 2439 viewers

Lotus Notes Refresh Parent document When Closing Child document

During development of a new application, we ran across a situation that I’m sure some of you have seen. We have a parent document and children documents. The children are only displayed in an embedded view in the parent document. So, when you open up the parent, you see an embedded view with “show single category” enabled that shows all the children of that parent. Those children don’t show up in any other view, so you must open up the parent to see them. There’s buttons in the parent to create a child, edit a child, delete a child, etc.
Read more…

Viewed 7536 times by 1858 viewers

Prevent Validation Errors When F9 Is Pressed in Lotus Notes

There’s always the trouble with validation formulas executing when you don’t want them to execute. For example, if you have a radio button set to “Refresh Fields On Keyword Change”, then validation formulas will execute when the value changes and your users will get prompted with their errors. This would be a case where you don’t want the users to be prompted.
Read more…

Viewed 6621 times by 1792 viewers

Determine User Screen Resolution in Lotus Notes

If you would like to open a different navigator based on the user’s screen resolution, there is a pretty easy way to do it using the Windows API (assuming your clients are Windows clients).
Read more…

Viewed 4655 times by 1201 viewers

How to Check Is Valid Lotus Notes ID

This JavaScript regular expression will validate a Notes ID. To use the function, call “isValidNotesID” and pass in the Notes ID to be checked and an optional parameter of the number of slashes that should be in the ID. If the parameter is omitted, it defaults to 1 slash. For example, if the ID is supposed to be in the format of “John Doe/MyCompany”, then you can call isValidNotesID(myString). But if the format is supposed to be “John Doe/MyCity/MyCompany”, then you’ll need to call isValidNotesID(myString, 2).
Read more…

Viewed 7572 times by 2060 viewers

Lotus Notes Quick Formula Computation

Notes has provided access to the formula language in any text field. If you place a valid @-formula into a text field and press SHIFT+F9, the formula will be computed and the value for the text field replaced with the results of the formula.
Read more…

Viewed 7774 times by 2217 viewers

Lotus Notes Java Capturing Keystrokes

Why would you want to?

Well, there’s a few reasons we can think of. First, you may want to capture the ESC key and trigger a JavaScript history.back() function so the ESC key on the browser will mimic the ESC key in the Notes client.
Read more…

Viewed 5583 times by 1590 viewers