You are on page 1of 11

How to configure sametime business cards and

Photo read from connections profiles?


AbstractSametime server use domino as ldap server. How to configure sametime
business cards and Photo read from connections profiles.

There are 7 steps to perform the configration:


1. Modify domino ldap server configuration. To enable anonymous users
can query fileds.
2. Enable the business cards feature on the IBM Sametime Community
Server.
3. Disable UserInfoConfig.xml to be read from the IBM Sametime System
Console.
4. Configuring business cards using IBM Connections
5. Configuring Sametime to enable business card photos to display on
mobile devices
6. Start Sametime Client to test. You can find some photo in contact
list.
7. Troubleshooting
1. Modify domino ldap server configuration. To enable anonymous users can
query fileds.
1)
2)
3)

Open names.nsf in domino ldap server, pilot to Configuration-->Servers->Configurations


Open "All Servers" document --> Ldap tab :
Use Domino Administrator to enable Domino LDAP directory write access. Within
default Configuration Setting Document LDAP, click Yes to Allow LDAP users write
access.

4)

Add to the "Anonymous users can query" fields:

5)

Then follow the screen shots below to add (Title ,Company,Telephone,Photo URL from
left to right and click Ok).

6)
7)

8)

Edit the persons document by opening "names.nsf" under - People - Pick the User(s)
name and click on their document.
The document will open and look like below screen shot and please fill in the
field with the exact location of the photo folder we have created earlier.
Note: Pls input Photo URL as connections photo url address. For example:
http://connections.test.com/profiles/photo.do?uid=zhangsan

Important Note: the size of jpeg must be smaller than 64 Kbits,


Pls refer the connections Photo URL, if you access the url, it will display her
photo.
http://connections.test.com/profiles/photo.do?email=ldapadmin@test.com

9) Restart the Domino server.


Note: one Domino server need configuration only once.
The fields we need fill for users:
For User Information with Domino directory:
Field Name
Name
MailAddress
Title
Location(postalAddress)
Company
Telephone
Photo URL

Fields need input values in NAB


Basics Tab- First name,Middle name,Last name
Basics Tab- Internet address
Work/Home Tab- Title
Work/Home Tab- Location
Work/Home Tab- Company
Work/Home Tab- Office phone
Miscellaneous- Photo URL

2. Enable the business cards feature on the IBM Sametime Community


Server.
1)
2)
3)

Log into the Sametime System Console.


Click Sametime Servers > Sametime Community Server.
In the Sametime Community Servers list, click the deployment name of the server
with the business card information that you want to add or change.

4)

Click the Business Card tab.


In the Business Card Contents section, select the attribute you want displayed
in users' business cards, and then click Add to include the selected
attribute.

5)

To remove any preselected attribute, click the attribute and then click Remove.
For Attribute Definition, choose Attribute Values that are appropriate for
your deployment. If you prefer to map another attribute value to the attribute
name instead of the default value, choose User Defined, and then enter a value
for the attribute. The following table lists the default attribute value that
is mapped to each attribute name.
Attribute names and values
Attribute Name

Attribute Value

Address

Location

Company

CompanyName

Email address

InternetAddress

Name

FirstName,
MiddleInitial,
LastName

Photo

Photo Url

Attribute names and values


Attribute Name

Attribute Value

Telephone

OfficePhoneNumber

Title

JobTitle

Click OK.

3. Disable UserInfoConfig.xml to be read from the IBM Sametime System


Console.
1)

Open the UserInfoConfig.xml file in a text editor to verify that names and values
match the attributes defined in the Sametime System Console. The file is located
in the Domino program directory (\\domino\UserInfoConfig.xml). Here is a section
of the UserInfoConfig file:

2)

To force STUserInfo to use the configuration information stored in


UserInfoConfig.xml, add a <ReadStConfigUpdates> tag with a false value.

3)

Please add <ReadStConfigUpdates value="false"/>

as shown below.

This setting, when set to false, will force the STUserInfo SA to use the
configuration information stored in UserInfoConfig.xml
4)

In the same UserInfoConfig.xml file we must add the 2 fields below.


Note: Make sure the lines are not already present.
<Detail Id="PhotoURL" FieldName="PhotoURL" Type="text/plain"/>
<Detail Id="ImagePath" FieldName="PhotoURL" Type="text/plain"/>

5)

While editing the UserInfoConfig.xml, you must also add the values to the end of
the "ParamsSets" field below.
<ParamsSets>
<Set SetId="1"
params="MailAddress,Name,Title,Cellphone,Telephone,PhotoURL,ImagePath"/>
<Set SetId="1"
params="MailAddress,Name,Title,Cellphone,Telephone,PhotoURL,ImagePath"/>
</ParamsSets>

6)

Now you can edit your Domino LDAP Configuration. Please be aware that other LDAP
directories configuration may slightly be different.

7) Save UserInfConfig.xml file and restart Sametime Server.


8) Save all documents that are open and restart your Domino LDAP.
9) pls test below url and feedback right information.
http://im.test.com/servlet/UserInfoServlet?
operation=3&setid=1&userId=CN=ldapadmin,O=Test

4. Configuring business cards using IBM Connections


1)
2)
3)

Log in to the Sametime System Console with administrator privileges. Example:


https://yourserver.com:8701/ibm/console
Click .Sametime System Console > Sametime Proxy Servers.
Click the Sametime Proxy Server's link to open its Configuration page.

4)
5)

6)

In the "General Properties" section, navigate to the "Business card server"


section.
Click Connections Server and enter the server's address.
The address for a Connections Profile server typically looks like this:
http://connections_server.example.com/profiles

5. Configuring Sametime to enable business card photos to display on mobile


devices
1)
2)
3)
4)
5)

6)
7)

Browse to the IBM WebSphere Integrated Solutions Console on the server


hosting the IBM Sametime System Console.
Log in to the Integrated Solutions Console as the WebSphere administrator.
Click Sametime System Console > Sametime Servers > Sametime Proxy Servers.
From the list of Sametime Proxy Servers, select the server you are
configuring.
In the Mobile device settings section, select the Enable user photo
cacheoption.

Click OK.
Restart the Sametime Proxy Server.

6. Start Sametime Client to test. You can find some photo in contact list.

Start Web Sametime Client, you will find your photo.

7. Troubleshooting
Please enable this logging level in the client. The instructions for enabling debug
vary by client operating system.
To enable the appropriate debug, select the correct operating system version, and
then use these steps:
1. Stop the Notes client.
2. Edit the rcpinstall.properties file in a text editor. The file location can vary
based on where the client was installed. Here is the default install location.

Windows OS <Notes Install>\Data\workspace\.config\rcpinstall.properties


Linux OS
<Notes Install>\Data\workspace\.config\rcpinstall.properties
MAC OS
/Users/username/Library/Application Support/Lotus Notes
Data/Expeditor/Applications/.config/rcpinstall.properties
add the following lines:- and save the text file.
com.ibm.rtc.meetings.messages.util.level=FINEST
com.ibm.rtc.meetings.participants.ParticipantImageManager.level=FINEST
4. Start the Notes client, log in to Sametime, and reproduce the issue for "broken
image"
- Capture a screen shot when the issue occurs if possible.
- Note the date and time that you reproduced the issue, and any user names involved.
- Note the exact steps that were performed.
- Log out of the Notes client.
5. Then gather the logs.
- Compress (zip up) the files in the directory named <Notes
Install>\Data\workspace\logs.
- Make notes of any specific errors and the times that the unexpected behaviour
occurred.
- It is also important to note that if this issue occurs for specific users please
provide the user names being tested.
Windows OS <Notes Install>\Data\workspace\logs
Linux OS
<Notes Install>\Data\workspace\logs
MAC OS
/Users/username/Library/Application Support/Lotus Notes
Data/Expeditor/Application Logs