Tips
Tips
-
Force a new parent for a a response
This tip describes how to force documents to be children of a document. Continue Reading
-
Limiting entry length in a textbox
This tip describes how to limit the ammount of characters that may be entered into a field. Continue Reading
-
Creating ACL spreadsheets with Excel
This tip describes creating spreadsheets for ACLs in Excel. Continue Reading
-
Importance of adding all data fields to a form
This tip highlights the importance of adding fields to a form. Continue Reading
-
Convert rich text field contents to standard text
This tip describes converting rich text field contents to standard text. Continue Reading
-
Agent to modify person documents
This tip describes updating person documents with an agent. Continue Reading
-
How Domino converts MIME to Rich text
Just what makes a Domino server convert MIME to Rich text? Continue Reading
-
Easiest way to get server time
This tip describes how to retrieve the server time Continue Reading
-
Rename a local or server database file with API function
Renames a local server or database file using an API function. Continue Reading
-
Multiple e-mail addresses
If your company has merged with another, or your company is changing its name here's how to get multiple email addresses. Continue Reading
-
Adding entries back onto the replicator page
Adding entries back onto the replicator page Continue Reading
-
Save time by eliminating db.Search()
Avoid using db.Search, instead change the selection formula of the view using LS and simply get all the documents in the view Continue Reading
-
Restoring deleted e-mails
Here's how we "merge" the two by using the replication process Continue Reading
-
Remove consistent ACL flag
The following code for a button removes the flag and allows me to open the database with manager rights. Continue Reading
-
Search a database using a customized form
Here's a LotusScript solution for searching your database using a customized Search form Continue Reading
-
Cancel button with warning message
This is a nice little script for a cancel button or action. Continue Reading
-
Remove from text-list
The function can be used to remove all occurrences of the specified item as well as only the first one. Continue Reading
-
Notes Item/Field size limitation
Dynamically write to multiple fields Continue Reading
-
Detach all attached files in selected documents
Detach all attached files in selected documents Continue Reading
-
Redirect Web users to any content with one page
Cut roll out costs for web shortcuts by using Javascript to redirect the web user using input from the browser location Continue Reading
-
LS to retrieve all views from any database
LS to retrieve all views from any database Continue Reading
-
Refresh or replace content of another frame
Refresh or replace content of another frame Continue Reading
-
Mouse over effects on buttons using JavaScript and CSS
This tip will allow your buttons to have a life Continue Reading
-
Extracting query string parameters in agents
This code will produce a LotusScript list of key value pairs representing the query string passed to the agent in the form Continue Reading
-
Retrieving output parameters from a Stored Procedure using Lotus Connector
Here is a sample building block for writing a LotusScript agent that utilizes the Lotus Connector Continue Reading
-
Hide code in Script Library
Do you want protect your work? Create a button in a form, and copy the following code: Continue Reading
-
Disabling actions until a page finishes loading
Disabling actions until a page finishes loading Continue Reading
-
Exporting and importing to and from Excel
An example of a script to import an XLS file into Notes from a view. Continue Reading
-
Automatically create connection documents
Automatically create connection documents Continue Reading
-
Enforce consistent ACL
Perhaps the most misunderstood security feature in the whole Domino/Notes product line is the option "enforce a consistent ACL across all replicas of this database." Continue Reading
-
Find document by NoteID
Every want to find a document by noteid here is a utility that will allow you do to that. Continue Reading
-
Restart Server automatically
Restart your Domino server off hours without either having to be there or dial-in create a program doc to do it. Continue Reading
-
Formula to compute calendar week
Here is my formula to compute the calendar week number for a given date. This can be very useful in View columns. Continue Reading
-
Log deleted documents
This short script makes a copy of documents that are deleted. Continue Reading
-
http login via URL
Have you ever wanted to login quickly without password prompting? Continue Reading
-
Fix corrupted view on local database
I recently had to help a remote user, working of their c: drive, fix a corrupted view. Continue Reading
-
Writing comboboxes on the fly
Writes comboboxes dynamically, by looking at a hidden field containing the data - a sort of pseudo-DBLookup in JavaScript Continue Reading
-
Notes client-side URL'S: A new way to open Notes stuff in the Notes client
How do you access some document in a Notes database via a Web browser? The right URL, of course. Continue Reading
-
Printing Embedded Object in all selected documents from a view Action
Printing Embedded Object in all selected document from a view Action Continue Reading
-
Populate Word Data from Notes using LotusScript
This tip will populate Word Data from Notes using LotusScript Continue Reading
-
Install and configure Domino On Linux 7.1
This document gives a step-by-step installation procedure for Domino on Linux Continue Reading
-
Start applications using @command({execute})and parameters
Usually the syntax is: @Command( [Execute] ; application ; filename ) Continue Reading
-
Validate a name against the NAB
The checkNAB function is a LotusScript function that compares a name with all the public NABs. Continue Reading
-
Setting up ID and password recovery
Setting up ID and password recovery Continue Reading
-
Setting Reminder\Alarms from any application
Have you ever wanted to have your application set a reminder\alarm in the user's mailfile (with pop-up and all)? Continue Reading
-
Send a link to a folder
Send a link to a folder Continue Reading
-
Nice view with replication and save conflicts
Have you ever wanted a nice view, where conflict documents could pop up? Continue Reading
-
Resolve Domino date format problems for dd/mm/yyyy format
Resolve Domino date format problems when wanting dd/mm/yyyy format Continue Reading
-
Lookup information from the NAB
Lookup information from the NAB (Domino Directory) using @Commands or LotusScript. Continue Reading
-
Opening Notes in Application mode (KIOSK MODE)
Here's a tip to open a Notes database in a new window without the regular Smarticons and Bookmarks. Continue Reading
-
Using Java IO to attach files to a Notes document
I had a recent application that needed to go to a certain directory on the server and import files into Notes documents. Continue Reading
-
HTTP Server startup fails
Here is the fix for HTTP Server startup fails. Continue Reading
-
Easily add content to your selectlist (drop down list)
If you want to add easy content to your selectlist (dropdown list) this is your tip. Continue Reading
-
View_Rebuild_Dir
This setting is used for defining the default directory for the temporary files while rebuilding of view indexes. Continue Reading
-
LotusScript class to track modification history
This code computes and displays the modification history of a document. Continue Reading
-
Select a value in a dialoglist and then check (in onchange event)
Select a value in a dialoglist and then check (in onchange event) if a certain field in the document of the selected value. Continue Reading
-
Navigating a Microsoft Word Document when Adding Text/Tables
Creating reports from Lotus Notes in Microsoft Word, using LotusScript and OLE Continue Reading
-
Simple way to delete selected documents
Want to delete selected documents in a web view? Continue Reading
-
Checking that a name is in the address book
If you use editable Name field and you want to ensure that the name entered is listed in your address book... Continue Reading
-
JavaScript Propercase function
This function is the JavaScript equivalent to the notes @ProperCase (or as near as I can make it). Continue Reading
-
Resolve the groups using formula language
The "@ExpandNameList" is an undocumented formula which is used which can be used in resolving the groups. Continue Reading
-
Don't trick your users with a bad embedded view
Embedded views are great for displaying contextual data, in an almost relational way, but there is a flaw... Continue Reading
-
Prevent printing, forwarding, copying - oh yeah?
Have you ever received a memo from someone that has that nagging feature of "Prevent copying" enabled on it? Continue Reading
-
Enabling Sametime chat logging
How to log chats in Sametime Continue Reading
-
Phone number validation/formatting
Call this function to validate your phone number, and to format it in (###) ###-#### format. Continue Reading
-
Setting ECL at user login
Every Time user login to the network and after open Lotus Notes trasparently refresh the local ECL. Continue Reading
-
Prevent Spam/Relayed Mail (Mixed Grill)
This tip will help minimize if not stop all the mail spammed to or relayed through your system. Continue Reading
-
Printing document with embedded view - Show single category
To mimic what you see on screen when printing documents I created another form with 4 rich text fields. Continue Reading
-
"Hidden" Notes Preferences Setting
To modify the content retrieval setting switch to Notes, change the setting, and then change the browser back. Continue Reading
-
Get names from nested NAB groups
A simple LotusScript agent using recursion can very easily explode groups to any depth. Continue Reading
-
Refresh all documents in a view (and skip the bad ones)
This script tries to refresh (and save)a document, and skips it when refreshing fails. Continue Reading
-
Aliasing/multiple domains on a single Domino server
How to have multiple domains on one server Continue Reading
-
Separating First Middle And Last Name From Address Book
A lookup can be done to the address book to absolutely get the first middle and last name via lookups. Continue Reading
-
Delete mail messages that contain auto executing viruses
Here's how to delete mail messages that contain auto executing viruses like W32.Badtrans.B@mm. Continue Reading
-
Return field
Here's an easy "$$Return" field that after saved in your document, comes back to it without the awful FORM PROCESSED. Continue Reading
-
Solution for DbColumn 64k limit on the Web
DbColumn is very useful and is frequently used in Domino applications. But what if the limit exceeds 64 KB? Continue Reading
-
Never Use Computed for Display Fields Again!
This tip disables any fields or buttons on your form. Continue Reading
-
Find unused views with no programming
Eliminate unused views to free up space on your servers, and do it without a stitch of programming. Continue Reading
-
Searching in a Rich Text Field
Notes by default does not have any in-built/native function or property which can search a Rich Text Field content. Continue Reading
-
Deploying Lotus Notes in a Terminal Server environment
How to install Notes when using Terminal server Continue Reading
-
Signing agents
Work around having your agents stop running on the server due to agent signers. Continue Reading
-
Create fixed length strings without using @if
How to create fixed length dates, invoice number, order numbers etc. padded out to the fixed length with leading zeroes. Continue Reading
-
Create a Web print button that omits certain items on the page
Ever want to have a print button on your Web page that only prints certain parts of the page and omits other parts? Continue Reading
-
Aliases for Person, Group, Mail-In DB
An easy way to create multiple aliases. Continue Reading
-
Remove all commas and validate to a usable float/integer
Get rid of commas and then validate the field to make sure it contains all usable positive numbers. Continue Reading
-
Purging select dead messages from mail.box
This agent will automatically delete dead messages from MAIL.BOX that match certain criteria. Continue Reading
-
Validating radio button fields
I have created this generic function to check if a value of a radio button field has been selected.
Continue Reading -
Making tabbed tables work on the Web
Tabbed tables as rendered for the Web by Domino are pretty much a waste of time - basically they look terrible. Continue Reading
-
Need the system temp directory?
Extract attached files in the system temp directory Continue Reading
-
Field validation for file upload control element
Here's a field validation for the File Upload Control element. I've only tried this where there is one Upload Control. Continue Reading
-
Debug Router
Have you ever wanted to find out what the router is doing? Continue Reading
-
Setting column width in a view
This tip will allow you to set the look of your Notes view on the web without having to code XML or heavy HTML. Continue Reading
-
Rename attachments
This script purpose is to enable user to rename attachments. Continue Reading
-
Get the size of a user's mail database while in the Domino Directory
Ever been in the Domino Directory and want to know the size of a mail database without doing a database properties check? Continue Reading
-
Count the group members
Here's how to count the number of users in a group. Continue Reading
-
Right icon attaching file via LotusScript
Here is an easy way to attach a file via Lotus Script and display the right icon (not Appear as V2 Style Attachments). Continue Reading
-
Revision history using formula language
This formula allows you to keep a revision history in a single computed field. Continue Reading
-
Set cookie and get cookie
This code below allows you to set cookies and get cookie names. Continue Reading
-
When you can't deselect a checkbox item on the Web...
Fix for issue where cannot uncheck (deselect) a checkbox item on the Web. Continue Reading
-
Allowing users to run background agents from buttons
With the new RunOnServer method of NotesAgnt you can call a background agent from a button. Continue Reading