Daily Archives: August 13, 2009

SNTT : Don’t hard code your Selectedable Years in a Lotus Notes dialog box.

Hard coding is bad, bad , bad. Very bad, okay? (see Avoiding Hard Coding of Group Names).
Here’s a quick and dirty way to have a drop down dialog which selects the “Year” and not be hard coded.
1234currentYear := @Year(@Now );
@Text(currentYear-1) :
@Text(currentYear) :
@Text(currentYear+1)
which results in a multip value list of (for this year) “2008″ : [...]

Posted in Lotus Domino, Show-n-Tell+Thursday | Leave a comment

SNTT adding http onto URL strings in Lotus Notes

The challenge was to have end users enter url’s (or uri’s) for content and have it presented as a link on the read only end part of the site. The problem is that means having “http” (or “https”) -which indicates Hypertext Transfer Protocol – appended to the string, if it was not supplied by [...]

Posted in Lotus Domino, Show-n-Tell+Thursday | Leave a comment