Tips
Tips
-
Windows Client Access Licenses for Lotus Notes
For Notes/Domino administrators, there has always been one question of special mystery: When Domino runs on a Microsoft server operating system, do you need a Windows Server Client Access License (CAL) for each Lotus Notes client? In this tip, ... Continue Reading
-
Invoking Web services via LotusScript
If you don't want to use the IBM SOAP Connect examples, SearchDomino.com Giles Hinton provides an alternative class in LotusScript code that uses the Microsoft XMLHTTP parser to invoke and return values from a Web service. Continue Reading
-
How to fix the Lotus Notes unread documents feature
Lotus Notes 6.x client has the ability to keep track of unread documents in each folder. But sometimes this feature gets out of whack and displays a larger count than the actual number of unread documents within a folder. In this tip, ... Continue Reading
-
Prompting a Lotus Notes user for input using LotusScript
In increasing order of complexity and usefulness, SearchDomino.com contributor Cregg Hardwick explains four ways you can prompt a Lotus Notes user for input using LotusScript: InputBox, MessageBox, NotesUiWorkspace, and the DialogBox method. Continue Reading
-
Creating a marquee effect in a Lotus Notes client
The marquee effect tags in Internet Explorer and Mozilla can also be used in Lotus Notes client welcome forms. SearchDomino.com member Sunilkumar Vishwakarma provides step-by-step instructions and code in this tip. Continue Reading
-
Move folders from one Notes database to another using a LotusScript agent
SearchDomino.com member Marko Bonaci provides a LotusScript agent that will move folders from your current Notes/Domino database to another that you specify. Continue Reading
-
Hosting multiple Lotus Domino servers at one IP address without a VPN
How can you host more externally visible servers than the number of IP addresses you have? SearchDomino.com contributor Chuck Connell explains how to host multiple Lotus Domino server at a single IP address --- without having to use a virtual ... Continue Reading
-
Creating PDF documents from Lotus Notes
iText is a free JAR file that uses Java code to create PDF files on the fly from a back-end Lotus Notes database. Continue Reading
-
How to add an audit trail to Lotus Notes documents using Formula
In many Notes/Domino applications, you need to track critical field values any time a document is modified and saved. In this tip, SearchDomino.com member Mohammed Misbahuddin explains step-by-step how you can easily add audit trails using Formula ... Continue Reading
-
Modifying document item values
This Formula Language code can be incorporated into a toolbar button for Lotus Notes client 6.5. When a database document is selected and the button is clicked, all item values will be displayed in a pop-up. You can then follow these steps provided ... Continue Reading
-
Sign a Notes/Domino database with three lines of LotusScript
SearchDomino.com member Hemang Kapadia offers this simple LotusScript code snippet that will let you sign a Notes/Domino database without haveing to go through Lotus Notes Administrator. Continue Reading
-
Notes.ini and mail.boxes transaction logging -- a cautionary tale
IBM Lotus recommends turning off transaction logging on newly created mail.boxes. You can use a parameter in the notes.ini file to do so, but whether it works or not depends on where you get the parameter from. Continue Reading
-
How to print a form in landscape format automatically
SearchDomino.com member Michael Marcavage provides some simple HTML code that will automatically change the page orientation of a form to landscape for printing -- without the user needing to go into Print Setup. Continue Reading
-
How to move a Domino Resource Reservations database
In this tip, SearchDomino.com member Dennis Meyer provides step-by-step instructions on how to successfully move a Resource Reservations database to a new Domino server. Continue Reading
-
Restraining the monsters behind Lotus Notes' 'Full Access Administrator'
SearchDomino.com contributor Andy Pedisich explains the hazards behind "Full Access Administrator" privileges and how to contain potential abuses of power. Continue Reading
-
How to transfer values between Lotus Notes and Internet Explorer
In this tip, SearchDomino.com member Janardan Pagadala explains step-by-step how to use LotusScript to open an Internet Explorer browser as dialog box to transfer values between a Lotus Notes client and a Web-based application. Continue Reading
-
LotusScript version of @DbColumn
SearchDomino.com member Marko Bonaci offers this LotusScript code that performs the same function as the @DbColumn formula. Continue Reading
-
Sending specific agent errors to a mailbox instead of debugging
In order to get a better handle on application errors, SearchDomino.com member Yonit David built a script library that sends an e-mail to a specific mail database with the error information that can then be categorized by database. In this tip, he ... Continue Reading
-
Controlling access to the Domino Directory with Extended ACL
Extended ACL is an additional level of database access control, beyond the standard access control list, that allows you to control access to sets of documents within a Notes/Domino database -- much more easily than you could using Reader and Author... Continue Reading
-
Appending two NotesDocumentCollections
In this tip, SearchDomino.com member Michael Adams shows you some simple LotusScript that will append two NotesDocumentCollections together. Continue Reading
-
Converting a date to a week number and vice versa
SearchDomino.com member Klavs Thor Olesan explains how to convert a date to a week number and vice versa using Formula Language. Continue Reading
-
No more delayed email
If Lotus Notes users are complaining about delayed e-mail, the problem might be their incorrect use of "Local mail file" instead of "Office." SearchDomino.com member Peder Koed explains and provides a code snippet that will resolve the issue. Continue Reading
-
Monitoring scheduled agents by email
SearchDomino.com member Andrew Broxholme provides some basic code that will e-mail you if important agents do not run within a given amount of time. Continue Reading
-
Encryption and privacy in Lotus Notes Domino
Get an overview of encryption and privacy for several tools in your Lotus Notes Domino environment. Continue Reading
-
Dynamically changing the content of a form without refreshing the page
Use this JavaScript code to change the content of a form dynamically -- without having to refresh the page. It doesn't even need an ActiveX Control to be executed on the client; instead, the execution is made on the server. Continue Reading
-
Disabling the 'Submit' button on a form
With this JavaScript code, you can disable a "Submit" button once a user has clicked on it to prevent the submission of duplicate requests. Continue Reading
-
Resetting a Lotus Notes password
Most of what is written about ID/password recovery concerns setting it up correctly. In reality, its most common use is resetting a forgotten password or restoring a corrupted ID. Continue Reading
-
Manipulating the header and footer of Microsoft Word using LotusScript
Our LotusScript expert Cregg Hardwick explains how to manipulate the header and footer of Microsoft Word using LotusScript and COM. Continue Reading
-
Nine rules for optimizing Domino storage performance
Domino puts heavy demands on storage, both in terms of performance and capacity. Because it is such a storage-intensive application, it's important to optimize Domino storage. Continue Reading
-
Don't change created date of a Lotus Notes document via LotusScript
This user wants to know if it's possible to modify the created date of a Notes document and a Notes database --either with (or without) LotusScript or with another Windows utility. Continue Reading
-
Java code to write to text file
This Java code will walk a Lotus Notes view, grab data from each document and write it to a text file, then send an e-mail to the appropriate contact stating whether the code was successful or if it failed. Continue Reading
-
Common function for sending mail
This LotusScript agent presents a common function for sending e-mail. It can be set up to send e-mail to multiple users. Continue Reading
-
Open a document in a dialog box from a view
With this LotusScript code, a document will open in a dialog box instead of in a new window. Continue Reading
-
Notes/Domino 6 version of 'Discover Folder'
In Notes/Domino 7, IBM added a 'Discover Folder' option that lets users find the folder an email is in. This quick keystroke will do the trick in R6. Continue Reading
-
Determine if a scheduled agent really ran during the night
This agent checks to make sure that critical agents scheduled to run overnight did, in fact, run. Continue Reading
-
Stop an agent without shutting down the Amgr task
This admin console command will shut down a scheduled agent that is locked in a loop or taking much longer than anticipated to run. Continue Reading
-
Formula code for alphanumeric validation
This tip offers simple Formula code to validate and allow a field value to have only alphanumeric characters. Continue Reading
-
Collapsing outlines
This tip will collapse a currently expanded bit of an outline when switching to another collapsed part of the outline. Continue Reading
-
Deleting "in use by you or other program" nsf files
This quick tip lets an administrator delete a nsf file via Notes. Continue Reading
-
How to make Notes view icons run code
In Notes/Domino 6 the InViewEdit method allows developers to programmatically make columns in views editable. This tip brings that functionality a step further and makes icons in views active. Continue Reading
-
Simplifying dialog list maintenance
This Formula Language tip shows how to add a new entry to a dialog list via only one form and one view. Continue Reading
-
@DBColumn and @DBLookup for all browsers using Ajax
Learn how to use this generic code that can be used to perform @DBColumn and @DBLookup using Ajax in Internet Explorer, Mozilla and Netscape. Continue Reading
-
Using w.dialogBox in LotusScript
Are you tired of response documents with @command[compose]... in full screen ? Do you want something more user friendly? Try the NotesUiWorkSpace.DialogBox method class. Continue Reading
-
Generating unique numbers in Domino using LotusScript
This IBM LotusScript tip illustrates the use of Profile Document to generate unique numbers. Continue Reading
-
Computed subform based on user's action
If a computed subform formula is based on a field and the user changes that field's value, the subform does not refresh. This quick tip changes that. Continue Reading
-
A Lotus Notes Domino database replication primer for administrators
Discover some helpful tips about database replication for administrators new to Lotus Notes and Domino. Continue Reading
-
Write a log file with a size limit
This tip provides code for creating a log file. When the file reaches a certain size, a new file will be created and the existing file will be renamed. Continue Reading
-
Notes to XML. . .and back again
Notes/Domino 6.x has robust tools for translating Notes data into XML and vice versa. IBM documentation lacks a simple sample showing the full operation. This tip fixes that. Continue Reading
-
Sequential numbers using LotusScript
This script is used for generating sequential numbering of fields in the document. Continue Reading
-
Tuning Windows for Domino
This tip discusses how administrators can make Windows 2000 or Windows NT work best with a Domino server. Continue Reading
-
Load design for a single database
This tip offers a hint for developers working on a database that gets its design from a template. Continue Reading
-
Automatically start a WebSphere instance
A WebSphere instance on the iSeries runs as a job in a subsystem, like any other job on the system. However, the normal method used to start the WebSphere instance is different, requiring that you use the startServer command from the QShell ... Continue Reading
-
Creating thumbnail images using LS2J in LotusScript
Learn how to create thumbnail images in Lotus Domino using LS2J in LotusScript. Continue Reading
-
Options for changing passwords
This tip offers developers two options for users changing their passwords -- a change password form or a user redirect. Continue Reading
-
Deselect a radio button
With this simple code, users can use a double click to deselect a radio button. This saves developers from creating an extra user interface component. Continue Reading
-
Putting an end to the frustration of mail merge
This tip provides an answer for anyone who has ever struggled with a Lotus Notes to Microsoft Word mail merge. Continue Reading
-
Generate an automatic view from forms
This script searches forms in a design database and creates one view for each form within all fields. Continue Reading
-
Structured error handling in LotusScript
This tip shows you how to do a fair simulation of "Structured Error Handling" in LotusScript. Continue Reading
-
HTML signature maker
This tip is an easy way to create an HTML signature file that shows a graphic and a link to a Web page. Continue Reading
-
NAB: A key piece of the Domino administration puzzle
A key piece of the Domino administration puzzle is the system file known as Name & Address Book, or NAB. This tip will explain some of the basic properties of the NAB. Continue Reading
-
Prevent save conflicts over the Web
This code will provide you with way of preventing save conflicts on the Web. Continue Reading
-
Using the XMLHTTP object for integration with Domino or any RDBMS back end
This tip demonstrates how to use the XMLHTTP object for integration with Domino or any RDBMS back end. Continue Reading
-
JavaScript autoclose window
Here's how to make an HTML page close itself automatically after x milliseconds. Continue Reading
-
Switch to user ID, change ID password in LotusScript
I use this code in LS to collect user IDs from a share on a server and gather information about them. I also used the code in a Domain merge to run a list IDs against a server. Continue Reading
-
Get all members of Domino Directory Group
This code generates a list of users from a group name from the NAB, determines whether the name corresponds to a person or group and breaks each group down into its person members. Continue Reading
-
Hiding field properties/data from DocProperties box
This tip allows you to hide field properties or other data from the DocProperties box. I don't believe this has been documented any where, and it's something I just stumbled upon. Continue Reading
-
Control e-mail with Domino Mail Rules
Using Domino Mail Rules and Passwords, you can control how e-mail is sent to a large number of recipients and protect inboxes from unwanted messages. Continue Reading
-
Find Errors in Notes Log
This tip is useful to automatically scan the Notes Logs on servers for keywords that indicate errors. Results are e-mailed to the user indicated in the script. Continue Reading
-
Automatic deletion of dead mail in mail.box
I have seen a recent tip on how to delete dead mail in mail.box with script code, but this is much simpler. Continue Reading
-
Expand group members and nested groups in @formula
In R6, @expandgrouplist doesn't seem to work anymore. This @formula will get all members of groups, and it will also work for nested groups. Continue Reading
-
Forwarding email messages to other account
This bit of code lets you "forward" an email to another email account while retaining the original Subject and From fields. Continue Reading
-
Select date range for view
On a view that asks for a "from" date and a "to" date, this button rebuilds the view in front of your eyes to reflect your date changes. Continue Reading
-
Working with Eclipse and Java agents in Notes/Domino 7
Lotus Notes/Domino 7 will bring Eclipse into closer view for some Notes developers who want to work with Java agents in Notes/Domino, WebSphere, and Workplace settings. Continue Reading
-
Assign a string to JavaScript variable with instances of double quotes
This tip shows you how to assign a string to a JavaScript variable with instances of double quotes. Continue Reading
-
ODBC connection to SQL server using LotusScript
This tip shows you how to create an ODBC connection to a SQL server using LotusScript with the click of a button. Continue Reading
-
Export a view to Excel without coding
This tip shows you how to export a view to Excel without any coding. Continue Reading
-
Resource reservations cleanup
Do you still have reservations in your Resource Reservations database from 2004 or 2003 and need to remove them without sending cancellation messages? This tip shows you how. Continue Reading
-
Creating dynamic subforms for Lotus Notes Domino
Discover a new approach you can use to create dynamic subforms for Lotus Notes and Domino. Continue Reading
-
Table in a rich text field
This code is designed to create a non-tabbed table of two rows and five columns in a rich text field to display information. Continue Reading
-
Pull a specific element from a list
If you are given a list of items, do you know how to pull out the 1st, 2nd, 3rd, 4th, etc. elements? This tip shows you how. Continue Reading
-
Importing a CSV file into view
This tip shows you how to import a CSV file as tabular text. Continue Reading
-
Permanent NotesLog and Java log come in handy
A particularly useful feature of LS error handling is the NotesLog class. The NotesLog object allows you to create robust permanent error logs from LS programs. Continue Reading
-
Creating RSS feed with Notes URI
Many Lotus Notes developers have started adding RSS feeds to their repertoire. Using this method, you can present an RSS feed to documents stored in a Notes database. Continue Reading
-
Activity logging functionality may cause problems with Lotus Instant Messaging
Learn what issues you may encounter when running activity logging functionality and Lotus Instant Messaging simultaneously. Continue Reading
-
Perfect portlets: Best practices for WebSphere portlet development
This article looks at best practices when designing portlets, either for new applications or for incorporating Domino applications into the WebSphere Portal. Continue Reading
-
Helpful Java console commands
This tip provides a helpful list of Java console commands. Continue Reading
-
Dynamic table solution using an embedded view
Instead of hard coding a table when you are not sure how many rows you need you can create an embedded view with response documents to act as rows. Continue Reading
-
Creating corporate welcome pages with Lotus Notes
Learn the pros and cons of creating corporate welcome pages with Lotus Notes. Continue Reading
-
Use pop-up to populate dynamic table
This tip shows you how to use a pop-up window to populate a dynamic table in an underlying form. Continue Reading
-
Set date without time via LotusScript
This tip shows you how to set the date without the time section via LotusScript. Continue Reading
-
AddParameter to a NotesXSLTransFormer
While transforming Notes documents using DXL I needed to add a parameter to the Stylesheet and AddParameter documentation in R6 was non-existent. Here's how it works... Continue Reading
-
@today in view selection formulas
By now you all must know that using @Yesterday, @today ,@tommorrow in column or selection formulas impacts the efficiency of your application. Continue Reading
-
Use mail journaling to save copies of all email in Lotus Notes
Learn how you can use mail journaling to save copies of all email messages that go through your Lotus Notes Domino system. Continue Reading
-
Delete dead mail in mail.boxes
If you have several mail.boxes on your server and want your administrator to be able to occasionally run a manual agent to delete all dead messages, this agent will work for you. Continue Reading
-
Convert number value to text string (R5 and earlier)
This code will convert a number value to a text string. Continue Reading
-
XML encoding a string
The tip contains code that is a LotusScript version of the @URLEncode function. Continue Reading
-
How you can fight spam in your Lotus Notes Domino environment
Learn some techniques you can use to fight spam in your Lotus Notes Domino environment. Continue Reading
-
Extract attachments and indicate a new location
This tip shows you how to extract attachments and indicate a new location. Continue Reading
-
Copy from one rich text to another
This tip shows you how to copy from one rich text to another. Continue Reading
-
Block external images from loading in HTML email
External images are often used by spammers to determine if the recipient of a message actually opened it. You can block these external images from loading. This tip shows you how. Continue Reading