Archive

Archive for the ‘Notes Designer’ Category

Check Lotus Notes Domino status by IsServerUp Function

Basically, the code connects to the remote server and checks to see if the template log.ntf can be found and it has a valid replica ID. If the template can be found and has a valid replica ID, then the server is up. Otherwise, assume the server is down. Our testing of this function amounted to running it as a scheduled agent with the remote server up and after we shut the remote server down.

Read more…

Viewed 9976 times by 2906 viewers

Lotus Notes Decode Web URL

Although we have heard of an @-function that will decode a URL, but it is undocumentend at this time. In the mean time, here is a generic LotusScript function that will decode any URL.

Update: We have been made aware that the older version of this function did not handle Unicode characters. They are encoded with a “%u” prefix and include 4 hex characters after the “%u”. The version below supports Unicode characters.
Read more…

Viewed 8712 times by 2149 viewers

FailSilent Keyword In Lookups in Lotus Notes

we weren’t aware of the great new feature added to the @DbLookup function in Notes. The @DbLookup function now has an optional parameter at the end. This parameter takes one or more keywords in a list. I’ll describe these by showing an example.

Read more…

Viewed 7090 times by 1742 viewers

Removing Invalid Subordinate Keyword Values in Lotus Notes Field

I know the title of this tip doesn’t mean much. But I couldn’t come up with a meaningful title in just a few words. So let me describe the situation. Let’s say you have a multi-value keyword fields that contains state names. And another multi-value keyword field that contains city names. The choices for the city names come from the selected state names. If you choose some cities, and then go back and remove a state, how do you eliminate those selected cities that are no longer choices?
Read more…

Viewed 7518 times by 2166 viewers

Lotus Notes web HTML Escape Characters

Every time we need one of the “HTML Escape Characters”, like the copyright character (©) or others, we have to go searching for it. We finally decided to put together a table of many of these escape characters. The table below has the HTML code, then a quick description of the html code (what the symbol should look like) then the character representation.
Read more…

Viewed 7375 times by 2036 viewers

What Makes A Good Lotus Notes Password?

There has been a lot of talk around the office lately about passwords and what’s the definition of a “good” password. Obviously, a password that can’t be broken is a “good” password. But there’s a trade-off between passwords that are easy to remember and passwords that are difficult to break. Let me describe a couple ways to create “good” passwords.
Read more…

Viewed 4430 times by 1173 viewers

Refresh Lotus Notes 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 8097 times by 2380 viewers

Check an RTF Lotus Notes Field is empty

This interesting workaround comes It does cause a little bit of UI flicker, but works on the front-end and back-end:
Function IsRTFNull(rtfield As String) As Integer

‘This function tests a Rich Text field to see whether or not it is null. It returns TRUE if the field is null, and
‘returns FALSE if the field is not null. It works even if the rich text field contains a file attachment,
‘doclink, or OLE object but does not contain any text.
Read more…

Viewed 7374 times by 2224 viewers

Lotus Notes Richtext field checking Attachmentment or Size Without Saving document

Several threads cover the topic of preventing the attachment of overly large files to a Notes document, and one major hurdle seems to be how to do so without first saving the document, let alone without first attaching the file. Without covering all the reasons why this is a challenge, I thought it might be helpful for me to detail the solution that I came up with after reading several posts in this forum and piecing everything together.
Read more…

Viewed 8791 times by 2928 viewers

Change Twisty On Lotus Notes Outline

The outline Notes design element is pretty handy to build navigation for your Notes client, but we found one drawback. If you have collapsable entries, then you’re limited to the standard twisty images (the dark blue ones). This color may or may not go with your application’s color scheme.
Read more…

Viewed 6631 times by 2225 viewers