Skip to main content link. Accesskey S
  • Anonymous
  • Log on
  • Help
  • IBM logo
  • IBM Sametime wiki
  • All Wikis
  • Home
  • Community Articles
  • Product Documentation
  • Learning Center


Search

Advanced Search

Categories

Tag Cloud

  • 7.5.1
  • 8.0
  • 8.0.1
  • 8.0.2
  • 8.5
  • 8.5.1
  • 8.5.2
  • a/v
  • Active Directory
  • administration
  • administrators
  • Advanced
  • AOL
  • architecture
  • awareness
  • chat
  • Client
  • cluster
  • clusters
  • communities
  • configuration
  • configure
  • configuring
  • confuration
  • connections
  • DB2
  • deployment
  • deployments
  • developers
  • directory
  • directory server
  • documentation
  • domino
  • Edge
  • education
  • EMS
  • enablement
  • Enterprise Meeting Server
  • Entry
  • gateway
  • Getting started
  • install
  • installation
  • installing
  • integration
  • LDAP
  • learning
  • logging
  • lotus
  • media
  • meeting
  • Meetings
  • mml
  • monitoring
  • name_lookup
  • notes
  • performance
  • planning
  • podcast
  • Preview Guide
  • proxy
  • Redbooks
  • reference cards
  • resources
  • Sametime
  • sametime 8.0
  • Sametime 8.5
  • Sametime 8.5.2
  • Sametime 8.5.2 IFR1
  • Sametime Advanced
  • sametime gateway
  • Sametime Standard
  • Sametime Unified Telephony
  • Sametime Unified Telephony Lite
  • self-paced
  • seminar
  • server
  • siteminder
  • Standard
  • STGW
  • sut
  • Task Reference
  • telephony
  • tips
  • troubleshooting
  • tuning
  • tutorials
  • Unified Telephony
  • VIC
  • Video
  • video_8.0
  • video_8.5
  • video_advanced
  • video_standard
  • VideoFest
  • videos
  • WAS
  • webinar
  • websphere
  • windows
InformationInformation
You are currently viewing machine translated content. IBM translation might be available. Click IBM Translated Product Documentation to see what is available.X


Home > Deployment scenarios > Business Card Example - Dual repository: Domino Directory and Custom Notes Database with Photo attachments
Rate this article 1 starRate this article 2 starsRate this article 3 starsRate this article 4 starsRate this article 5 stars

Business Card Example - Dual repository: Domino Directory and Custom Notes Database with Photo attachments 

expanded Abstract
collapsed Abstract
No abstract provided.

Before beginning this article please review Business Card Basics http://www.lotus.com/ldd/stwiki.nsf/dx/Business_Card_Basics

The most common purpose for using a Dual Repository is to apply Photographs to the Business Card. The most common configuration for this is to use the Domino Directory and a Custom Notes Database.

Once you've reviewed the above article and have confirmed you can retrieve business card information in the default single repository configuration you are ready to implement the dual repository.

There are 3 basic operations to perform in this setup:
  • The first step is to modify the Admin pages to remove the attributes from any fields you'll be including in the secondary repository.
  • Next you'll add a section to the UserInfoConfig.xml file to specify the secondary repository as a custom notes database and include the fields you want to pull from that DB.
  • Finally the Notes DB is created and photos are attached.

The first step is self-explainatory so we'll begin with the second. The steps below are from the Sametime 8.0.2 infocenter:

An additional black box, which functions as a customized special implementation, is provided to enable data retrieval from the customized Notes database. This 'customized' black box should always be preceded by a call to the black box that handles the Sametime directory. A CommonField tag is used for synchronization between the black boxes. If the common field is defined as MailAddress, then the value retrieved for MailAddress from the first storage (LDAP or Domino) is used as the ID to query for in the customized database. The application first queries the database using the userID received as a parameter; if no record is found, it queries the database again, using the value retrieved for the CommonFieldName as userID. To use the customized database feature:

* Perform the following manual steps:

1. Open UserInfoConfig.xml and update the CommonField tag in the first 'storage' section to hold the ID property of a Detail tag that represents the same detail in the different storage types. This detail tag is assigned a different field name in each storage section, but the value in each of these fields should be identical for the specific user. The default value for the Common field tag is "MailAddress." The attributes holding the e-mail address for a user should have the same value in both storages.
2. Using the Administrator's Tool, update the Business Card attribute page with the values to be retrieved from the Sametime directory, leaving blank the field name for items required from the customized database.
3. Remove the Detail tags of the fields you left blank in the set-up page from the first 'storage' section in the UserInfoConfig.xml file.
4. Add an additional 'storage' section to the UserInfoConfig.xml as the second storage. This storage section is a new section added specifically for this feature; it differs from the standard Notes storage section through the additional parameters specified below:



5. In the newly-added "storage" section, delete the Detail tags of the items that you do not want to retrieve from this database, and update:
1. The DbName property, including the full path, no path is required if the database is stored in the Data directory.
2. The view name (if needed)
3. The mapping of the "Detail" tag so each item is mapped to the correct field name of the new database
6. Add a BlackBox tag to the BlackBoxConfiguration section in UserInfoConfig.xml as a second record:



7. Restart StConfiguration and the HTTP task.

The above examples were modified to retrieve only the photograph from the secondary repository but others could have been included as well. In the example we are retrieving information from the fldPhoto field of the ViewPerson view in the bcard.nsf. The complete UserInfoConfig.xml is shown below.


Note: Custom database has to be on the same server as Sametime. It is because API is designed to read the xml file looks for the database on the same server and it is not possible to specify a different server.

I've attached the example bcard.nsf database and UserInfoConfig.xml. These can be placed in the Data and Domino directories (respectively) on a test server. Add person docs (example below) for the users listed in bcard and you'll be able to see this work. Attachments are contained in the Attachments sections at the end of this article.





expanded Article information
collapsed Article information
Category:
Deployment scenarios, Resources for administrators and developers, Sametime Standard deployment scenarios,
Tags:

This Version: Version 14 August 10, 2010 10:06:22 AM by Khalid Abbas  IBMer

expanded Attachments (2)
collapsed Attachments (2)

 


File TypeSizeFile NameCreated On
application/octet-stream 576 KB bcard.nsf 9/6/09 4:24 PM
text/xml 2 KB UserInfoConfigDualDomino.xml 9/6/09 4:24 PM
expanded Versions (15)
collapsed Versions (15)
Version Comparison     
Version Date Changed by               Summary of changes
This version (14) Aug 10, 2010 10:06:22 AM Khalid Abbas  
14 Aug 10, 2010 10:06:22 AM Khalid Abbas  
13 Oct 21, 2009 11:43:39 AM John O'Gara  
12 Oct 21, 2009 9:43:08 AM William Wise  
11 Oct 21, 2009 9:34:07 AM William Wise  
10 Oct 21, 2009 9:19:49 AM William Wise  
9 Oct 20, 2009 7:48:52 PM Elizabeth Bowling  
8 Oct 20, 2009 7:44:03 PM Elizabeth Bowling  
7 Sep 18, 2009 3:36:40 PM John O'Gara  
6 Sep 13, 2009 4:03:18 PM John O'Gara  
5 Sep 13, 2009 3:57:12 PM John O'Gara  
4 Sep 6, 2009 5:43:19 PM John O'Gara  
3 Sep 6, 2009 5:09:07 PM John O'Gara  
2 Sep 6, 2009 5:01:29 PM John O'Gara  
1 Sep 6, 2009 4:52:23 PM John O'Gara  
expanded Comments (0)
collapsed Comments (0)
Copy and paste this wiki markup to link to this article from another article in this wiki.
Go ElsewhereStay ConnectedSubscribe to RSSHelpAbout
  • All Lotus and WebSphere Portal wikis
  • IBM developerWorks
  • IBM Software support
  • IBM Social Business User Experience Blog
  • IBMSocialBizUX on Twitter
  • IBMSocialBizUX on Facebook
  • Lotus product forums
  • IBM Social Business UX blog
  • IBM Collaboration Solutions
  • Recently added feedRecently added
  • Recently edited feedRecently edited
  • Recently added comments feedRecently Added Comments
  • Wiki Help
  • Forgot user name/password
  • Wiki design feedback
  • Content feedback
  • About the wiki
  • About IBM
  • Privacy
  • Contact IBM
  • IBM Terms of use
  • Wiki terms of use