Home > Domino Tips > Developer > Perfect Web AddressBook
Domino Tips:
EMAIL THIS
 TIPS & NEWSLETTERS TOPICS 

LOTUSSCRIPT

Perfect Web AddressBook


sunilkumar vishwakarma
10.05.2005
Rating: -4.50- (out of 5) Hall of fame tip of the month winner


Digg This!    StumbleUpon Toolbar StumbleUpon    Bookmark with Delicious Del.icio.us   


This is the tip we all were waiting for. This LotusScript agent represents AddressBook on the Web. It has been tested with Microsoft Internet Explorer 5.5 and Mozilla Firefox 1.0.x.

Please note that DBPath is a Computed For Display field on the form from where you wish to call the Web Address Book. The formula for DBPath field is

Also, please note that screenWidth and screenHeight are variables to be defined in the JavaScript header section, as written below: (Note: screenWidth and screenHeight are used in openAddressDialogbox().)

Here's the code for the AddressBook:

MEMBER FEEDBACK TO THIS TIP

Excellent tip !!! I've been in need of this tip for a long time. This works beautifully on the web and the feature of selecting names from multiple address books is remarkable. The only thing missing is the ability to select multiple names from address book and I'd love it if you would add that code too. Thanks again !!!
—John D.

******************************************

I am missing a description of the "how" and "where" of this tip. Should the shown code be put into the personal address book to enhance its look and/or performance on the Web? I made a few small developments with the V5 and V6.5 Domino Designer, but I am not a great developer.
—Frank B.

******************************************

This code can be applied to any database. If you put it in names.nsf, it works best because you can reference Domino Addressbook directl...


Digg This!    StumbleUpon Toolbar StumbleUpon    Bookmark with Delicious Del.icio.us   



RELATED CONTENT
Agent
Run or restart Notes/Domino agents via text messages
Approve Lotus Notes documents using a BlackBerry mobile device
LotusScript agent indexes Lotus Notes/Domino databases
Open documents in Lotus Notes from the Web without a UNID
Fix and update Lotus Notes documents with limited access
Verify scheduled agent status with Domino Extensible Language (DXL)
How to export data from a Lotus Notes database to a CSV file
Enable or disable scheduled agents without opening the Lotus Notes database design
Creating custom views in Lotus Notes databases
Editing fields in a Lotus Notes view with Ajax

LotusScript
LotusScript finds the first occurrence of a string from the right
Clear Recent Contacts view and prevent repopulation in Lotus Notes 8.x
Search Microsoft Active Directory with LotusScript
Three steps to trap and handle save conflicts with LotusScript
Troubleshoot agents by displaying LotusScript variables online
LotusScript sorts lists alphabetically
LotusScript code rebuilds corrupted busytime.nsf file
Soft-code item names to facilitate LotusScript management
LotusScript agent automates selective mail file replication
LotusScript filters and attaches files to a Notes form

LotusScript
LotusScript finds the first occurrence of a string from the right
Clear Recent Contacts view and prevent repopulation in Lotus Notes 8.x
Search Microsoft Active Directory with LotusScript
Three steps to trap and handle save conflicts with LotusScript
Troubleshoot agents by displaying LotusScript variables online
LotusScript sorts lists alphabetically
Run or restart Notes/Domino agents via text messages
LotusScript code rebuilds corrupted busytime.nsf file
Soft-code item names to facilitate LotusScript management
LotusScript agent automates selective mail file replication

RELATED RESOURCES
2020software.com, trial software downloads for accounting software, ERP software, CRM software and business software systems
Search Bitpipe.com for the latest white papers and business webcasts
Whatis.com, the online computer dictionary


y from within any database. Your code also would be central to all databases.

This code gives you an address book that is superior to the one you get after looking into the mail template in R5. However, there are techniques there to show an iNotes addressbook prompt. The code given is an agent that should be implemented within the database you prefer.

The JavaScript code should be placed in the JSHeader section of the form. Call your JavaScript from a button or link.
—Sunilkumar Vishwakarma, tip author

******************************************

In the agent, for the <select> tag, use the MULTIPLE attribute to allow it to select more than one name. You'll also want to update the agent agtWebNAB for the following JavaScript function:

This should take care of multiple selections in the pop-up window.
—Sunilkumar Vishwakarma, tip author

Do you have comments on this tip? Let us know.

This tip was submitted to the SearchDomino.com tip exchange by member Sunilkumar Vishwakarma. Please let others know how useful it is via the rating scale below. Do you have a useful Notes/Domino tip or code to share? Submit it to our bimonthly tip contest and you could win a prize and a spot in our Hall of Fame.

Rate this Tip
To rate tips, you must be a member of SearchDomino.com.
Register now to start rating these tips. Log in if you are already a member.


Submit a Tip




DISCLAIMER: Our Tips Exchange is a forum for you to share technical advice and expertise with your peers and to learn from other enterprise IT professionals. TechTarget provides the infrastructure to facilitate this sharing of information. However, we cannot guarantee the accuracy or validity of the material submitted. You agree that your use of the Ask The Expert services and your reliance on any questions, answers, information or other materials received through this Web site is at your own risk.



Domino & Lotus Notes Security Solutions: Authentication, Antispam, Encryption and Antivirus
HomeTopicsITKnowledge ExchangeTipsAsk the ExpertsMultimediaWhite PapersDomino IT Downloads
About Us  |  Contact Us  |  For Advertisers  |  For Business Partners  |  Site Index  |  RSS
SEARCH 
TechTarget provides technology professionals with the information they need to perform their jobs - from developing strategy, to making cost-effective purchase decisions and managing their organizations' technology projects - with its network of technology-specific websites, events and online magazines.

TechTarget Corporate Web Site  |  Media Kits  |  Site Map




All Rights Reserved, Copyright 1999 - 2009, TechTarget | Read our Privacy Policy
  TechTarget - The IT Media ROI Experts