|
|
|
|
|
|
|
|
|
|
|
|
|
|
Reusing the Web address dialog from the R5 mail template (continued)
The final step is to adjust the code that you copied from the "Address..." action into your button. If you want the standard version of the dialog (To, Cc, Bcc), no adjustment is necessary; use the code as-is.
In order to obtain any of the other three forms of the dialog, you must edit the code for the onClick action. In the code, there are six lines of code that start with "window.open(...". Each of those lines contains the text "'wAddress?OpenForm'...". Modify the text as follows:
Use "'wAddress?OpenForm&Vers=Delegate'..." for the "Delegate" dialog, use "'wAddress?OpenForm&Vers=Group'..." for the "Group" dialog, and use "'wAddress?OpenForm&Vers=Directory'..." for the "Directory" dialog.
Make the same change on all six lines and be sure to observe the correct capitalization of "Vers" and the three key words. That's all there is to it.
Some simple modifications With the exception of indicating the format of the dialog you wish to use, you don't have to make changes to any of the design elements copied from the R5.0 Mail template. There are some simple modifications, however, that will make the address dialog more useful.
Fix the delegate format
You may have noticed back in Figure B that the delegate field at the right of the form isn't overly generous in size. It's actually too short to display most names. To remedy the situation, edit the HTML Attributes for the "tmpDelegee" field. Enter the following, including the quotation marks: "SIZE=25".
Modify the list of address books
The list of address books presented by the dialog includes all known address books plus the current database (your application). This may not be appropriate for your application. To remove the current database from the list, locate the field "NABs" and edit the default value. Change if from:
@If(tmpAddrVersion="Directory";"names.nsf";@Subset(@DbName; -1))
|
to:
Also, change the first line of the keyword formula of the same field from:
"myAddr := @DbTitle + "|" + @Subset(@DbName; -1);
|
And change it to:
Change the format of the name that's returned
The standard dialog presents a list of names (last name first), but it returns the email address associated with the selected name. The email address could be the person's name (for internal Notes email users), or an Internet email address for others. For example, "Gable, Clark" could return "Clark Gable/backlot/MGM," "Jordan, Michael" could return "michaelj@air-guy.com," "Windsor, Charles" could return "princeofwales@thepalace.co.uk," and "Washington, George" could return "George W/ovaloffice/whitehouse."
You can make the dialog return the name in the same format that was chosen instead of the email address. In the address dialog's JS Header, look for the function AddClick(field).
|
|
|
|
|
|
|
|
|
|
|
|
|
|
-- Advertisement --
Find unused Lotus Notes groups and clean up your address book
Have you ever wanted to get rid of old Lotus Notes groups that were cluttering up your address book, but you weren't sure if they were used? Find Unused Groups can help.
Find Unused Groups will check your mail and ACL groups to help you determine if they are used, and who uses them.
Learn how to easily clean up your address book. |
-- Advertisement --
Integrate your Notes Applications with Microsoft Office and Symphony
Integra for Notes Integrates Microsoft Office and/or IBM Lotus Symphony
Requires NO change to the design of the appliation or Installations of DLL's and EXE's
- Integra is a ready to use solution, enhance static reports with Excel data analysis, pivot tables, macros
- User friendly aproach, using a point and click access to features
- Reports from any Lotus Notes databases
- Runs reports through a Notes client, web browser and scheduled basis
- Allows use of LotusScript for advanced data manipulation
- Enables self service reporting capabilities to end-users
Learn more at www.integra4notes.com. |
|
|
|
|
|
|
|
|
|
|