My toolbox
Posted by: Jaime
After getting the urge to say my tool(box) out, I thought I would just list some of the tools/parts/modules/whatever I have been using as of late and love to just "plug-in".
Date.js (datejs.com)
- this open-source java-script date library is a killer. Download the js from the site and drop the script tag reference into the header and "wacha" , you are a date ninja.
Datepicker.js (link)
- from Julian Robichaux of http://www.nsftools.com
This is a JavaScript library that will allow you to easily add some basic DHTML
drop-down datepicker functionality to your Notes forms. I know that everyone has their own date control (pop-up), but this one is easy to add, easy to modify and looks cool too.
Google Suggest-type Lookups In Notes (notessuggest.zip)
- from Julian Robichaux of http://www.nsftools.com
This database demonstrates how to use XmlHttp requests to make dynamic lookups on a Notes web page, using the same technique that is found on the Google Suggest page. This is a great application of ajaxian type-ahead.
AJAX NAB picker single/multi (link)
-from Scott Good of Teamwork Solutions and updated/fixed by Ben Dupic
The form (multi or single lookup) allows you to search and dynamically return values from ANY view. I assume most users use it to pick names from the NAB, hence the name, but I have used it to return names and other values from many types of views. A nice "plugin".
Control "home page" on launch of database via web (Using a form as a db homepage)
-from Jake Howlett of Codestore.net
Basically create your home page however you would like it and name the form $$NavigatorDefaultTemplate, Create a navigator and name it whatever (doesn't matter, you're not gonna use it), then change the database launch properties to launch the navigator. Allows you to launch the desired home page from the root directory (myhomepage.nsf) without links, redirect, or fixed urls. Nice.
Very fast import from Excel to Notes (link)
- from http://Botstation.com
Import data from Excel cells into Notes. Very fast code using Range method of Excel OLE object to read the whole datasheet. Use this non stop. Slick, easy, not hard-coded like most imports. Put the field names in the first row of the spreadsheet and done. Who doesn't need to import from excel ?
Dynamic Report filter - no link
- from Tom @ http://codepress.net
This form and script library allow for quick report setups. Used it at many places for many types of reports. Never disappoints. Perhaps this will get Tom to write something up and possibly disclose the code. It has always been a work in progress.
Do you have any "tools" that you can't live without that make your job easier ?
Date.js (datejs.com)
- this open-source java-script date library is a killer. Download the js from the site and drop the script tag reference into the header and "wacha" , you are a date ninja.
Code examples from datejs.com site
// What date is next thrusday?
Date.today().next().thursday();
// Add 3 days to Today
Date.today().add(3).days();
// Is today Friday?
Date.today().is().friday();
// Number fun
(3).days().ago();
Datepicker.js (link)
- from Julian Robichaux of http://www.nsftools.com
This is a JavaScript library that will allow you to easily add some basic DHTML
drop-down datepicker functionality to your Notes forms. I know that everyone has their own date control (pop-up), but this one is easy to add, easy to modify and looks cool too.
Google Suggest-type Lookups In Notes (notessuggest.zip)
- from Julian Robichaux of http://www.nsftools.com
This database demonstrates how to use XmlHttp requests to make dynamic lookups on a Notes web page, using the same technique that is found on the Google Suggest page. This is a great application of ajaxian type-ahead.
AJAX NAB picker single/multi (link)
-from Scott Good of Teamwork Solutions and updated/fixed by Ben Dupic
The form (multi or single lookup) allows you to search and dynamically return values from ANY view. I assume most users use it to pick names from the NAB, hence the name, but I have used it to return names and other values from many types of views. A nice "plugin".
Control "home page" on launch of database via web (Using a form as a db homepage)
-from Jake Howlett of Codestore.net
Basically create your home page however you would like it and name the form $$NavigatorDefaultTemplate, Create a navigator and name it whatever (doesn't matter, you're not gonna use it), then change the database launch properties to launch the navigator. Allows you to launch the desired home page from the root directory (myhomepage.nsf) without links, redirect, or fixed urls. Nice.
Very fast import from Excel to Notes (link)
- from http://Botstation.com
Import data from Excel cells into Notes. Very fast code using Range method of Excel OLE object to read the whole datasheet. Use this non stop. Slick, easy, not hard-coded like most imports. Put the field names in the first row of the spreadsheet and done. Who doesn't need to import from excel ?
Dynamic Report filter - no link
- from Tom @ http://codepress.net
This form and script library allow for quick report setups. Used it at many places for many types of reports. Never disappoints. Perhaps this will get Tom to write something up and possibly disclose the code. It has always been a work in progress.
Do you have any "tools" that you can't live without that make your job easier ?



