developerWorks  >  Lotus  >  Forums & community  >  IBM Sametime Forum

IBM Sametime Forum

developerWorks




Photo's in Business Cards
Rory Briggs 07/27/2015 09:05 AM
Administration 9.0 Windows


Hi,

I am trying to get users photos to display in our sametime chat window. I am using an Dual Repository I found here:

http://www-10.lotus.com/ldd/stwiki.nsf/dx/Business_Card_Example-Dual_repository_with_Domino_Directory_and_custom_Notes_Database

and the guide from here:
http://collaborationben.com/2014/08/21/sametime-9-business-cards-revisited-and-beaten/

Below is my UserInfoConfig.xml

<?xml version ="1.0" encoding="UTF-8" ?>
<!-- ***************************************************************** -->
<!-- -->
<!-- IBM Confidential -->
<!-- -->
<!-- OCO Source Materials -->
<!-- -->
<!-- (C) Copyright IBM Corp. 2006 -->
<!-- -->
<!-- The source code for this program is not published or otherwise -->
<!-- divested of its trade secrets, irrespective of what has been -->
<!-- deposited with the U.S. Copyright Office. -->
<!-- -->
<!-- ***************************************************************** -->

<UserInformation>
<Resources>
<Storage type="LDAP">
<StorageDetails HostName="myserver.com" Port="389" UserName="blind user" Password="my password" SslEnabled="false" SslPort="636" BaseDN="" Scope="2" SearchFilter="(&amp;(objectclass=organizationalPerson)(|(cn=%s)(givenname=%s)(sn=%s)(mail=%s)))"/>
<!-- Add another StorageDetails tag to support another ldap server. The listing order implies the searching order -->

<!-- Scope: 0=OBJECT_SCOPE 1=ONELEVEL_SCOPE 2=SUBTREE_SCOPE-->
<SslProperties KeyStorePath="" KeyStorePassword=""/>
<Details>
<Detail Id="MailAddress" FieldName="mail" Type="text/plain"/>
<Detail Id="Name" FieldName="cn" Type="text/plain"/>
<Detail Id="Title" FieldName="title" Type="text/plain"/>
<Detail Id="Location" FieldName="postalAddress" Type="text/plain"/>
<Detail Id="Telephone" FieldName="telephoneNumber" Type="text/plain"/>
<Detail Id="Company" FieldName="ou" Type="text/plain" />
PhotoURL” FieldName=”PhotoURL” Type=”text/plain”/>
</Details>
</Storage>
<Storage type="NOTES_CUSTOM_DB">
<StorageDetails DbName="bcard.nsf" View="viewPerson"/>
<Details>
jpeg"/>
</Details>
</Storage>

</Resources>

<ParamsSets>
<Set SetId="0" params="MailAddress,Name,Title,Location,Telephone,Photo,PhotoURL,Company"/>
<Set SetId="1" params="MailAddress,Name,Title,Location,Telephone,Photo,PhotoURL,Company"/>
</ParamsSets>
<BlackBoxConfiguration>
<BlackBox type="LDAP" name="com.ibm.sametime.userinfo.userinfobb.UserInfoLdapBB" MaxInstances="5" />
<BlackBox type="NOTES_CUSTOM_DB" name="com.ibm.sametime.userinfo.userinfobb.UserInfoNotesCustomBB" MaxInstances="4"/>
</BlackBoxConfiguration>

</UserInformation>


The user information displays but no photos. When I look at the trace logs from the Notes embedded client I see this

12:45:20.357 8 WARNING com.ibm.collaboration.realtime.imhub.StatusCard$PersonAdapter
propertyChange Status Card PhotoProvider get URL: null
com.ibm.collaboration.realtime.imhub.StatusCard
13:35:19.212 2 WARNING com.ibm.rcp.managedsettings.internal.UpdateJob
getProvidersToUpdate CWPMS0008I: com.ibm.collaboration.realtime.policy.sametime.managedsettings.ManagedSettingsPolicyProvider is not currently available.
com.ibm.rcp.managedsettings
13:57:39.278 1 SEVERE Unable to associate action set with part: com.ibm.collaboration.realtime.chatwindow. Action set com.ibm.collaboration.realtime.imhub.setstatus.actionset not found.
org.eclipse.ui
13:57:39.406 1 WARNING com.ibm.lconn.client.bizcard.extension.PhotoProviderImple
getPhotoUrl Get cacheFile: C:\Program Files (x86)\IBM\Notes\Data\workspace\.metadata\.plugins\com.ibm.rcp.bizcard\Cache
com.ibm.lconn.client.bizcard.extension.PhotoProviderImple
13:57:39.409 1 WARNING com.ibm.collaboration.realtime.people.internal.ui.SwtBusinessCardImpl
setPerson Get person: Image not directlly get from provider, try get from dir
com.ibm.collaboration.realtime.people.internal.ui.SwtBusinessCardImpl
13:57:39.409 1 WARNING com.ibm.collaboration.realtime.people.internal.ui.SwtBusinessCardImpl
setPerson Get person: dir info still null, wait call back
com.ibm.collaboration.realtime.people.internal.ui.SwtBusinessCardImpl
13:59:06.350 1 WARNING com.ibm.lconn.client.bizcard.extension.PhotoProviderImple
getPhotoUrl Get cacheFile: C:\Program Files (x86)\IBM\Notes\Data\workspace\.metadata\.plugins\com.ibm.rcp.bizcard\Cache
com.ibm.lconn.client.bizcard.extension.PhotoProviderImple
13:59:06.353 1 WARNING com.ibm.collaboration.realtime.people.internal.ui.SwtBusinessCardImpl
setPerson Get person: Image not directlly get from provider, try get from dir
com.ibm.collaboration.realtime.people.internal.ui.SwtBusinessCardImpl
13:59:06.354 1 WARNING com.ibm.collaboration.realtime.people.internal.ui.SwtBusinessCardImpl
setPerson Get person: dir info still null, wait call back

Go back