i`m trying to implement user photos but its not working correct. I use EDI and the config looks like this:
<?xml version="1.0" encoding="utf-8"?>
But it seems this is not working. Should "employeeID" work? If i browse directly to http://testing/1465745.jpg the photo is there. Is there a misconfig in the xml file? If i not include EDI it shuld use EDI by default, right?
I think we have a documentation defect here. The newest documentation which doesn't show %% for EDI (it does for UDS) is a deviation from all previous versions. The release notes do not suggest this behavior was changed.
Setting Up URL Strings to Fetch Contact Pictures from Web Server
You can set up a parameterized URL string in the Photo field in the LDAP attribute map so that Cisco Jabber can fetch pictures from a web server instead of from the LDAP server. The URL string must contain an LDAP attribute with a query value containing a piece of data that uniquely identifies the photo of the user. Cisco recommends that you use the User ID attribute. However, you can use any LDAP attribute whose query value contains a piece of data that uniquely identifies the photo of the user.
Cisco recommends that you use %%
%% as the substitution string. For example:
You must include the double percent symbols in this string, and they must enclose the name of the LDAP attribute to substitute. Cisco Jabber for iPad removes the percent symbols and replaces the parameter inside with the results of an LDAP query for the user whose photo it resolves.
For example, if a query result contains the attribute "uid" with a value of "johndoe," then a template such as http://mycompany.com/photos/%%uid%%.jpg creates the URL http://mycompany.com/photos/johndoe.jpg. Cisco Jabber for iPad attempts to fetch the photo.
This substitution technique works only if Cisco Jabber can use the results of the query and can insert it into the template you specify above to construct a working URL that fetches a JPG photo. If the web server that hosts the photos in a company requires a POST (for example, the name of the user is not in the URL) or uses some other cookie name for the photo instead of the username, this technique does not work.
The uid attribute is only when using UDS (or OpenLDAP); this is not a valid Active Directory attribute.
Thanks for that Jonathan.
But it seems not to work, how can i check if the right URL is configured on the client? If i openthe jabber-config.xml i see the following in the web browser:
Another strange think is that i can search the directory but i cannot add Users to my contact list, nothing is happen if i add a user to a group. Any suggestions?
Alright, I may have misspoke earlier. I made the mistake of looking at the Jabber Mobile documentation, not Jabber for Windows. What you had originally, without the %%, appears to be correct.
The next thing I can think of is that the employeeID attribute may not be replicated/indexed on the Global Catalog LDAP server. Depending whether you have the Schema Admin roll or not, you could add the employeeID attribute to the GC index. If you don't have the necessary AD permissions, you could have Jabber bind to a local DC on 389/636 instead of the GC on 3268/3269.
The ConnectionType element forces Jabber to a standard Domain Controller.
Also, you should check to ensure that the updated XML file has been pulled down to the PC; it gets stored at:
thanks. That was a very good hint. We have added the attribute to the GC it was not added before.
I wait a day but no luck. I tried then for testing to make one picture with sAMAccountName.jpg and change the jabber-config.xml file to use this attribute. And this works.
But this is no option i have to use the employeeID.
Do you have any suggestion?
Short update: Now it works. I saw this thread ->
and the first comment from "gwoolston" help me too.
I have to add:
to the XML. Login and Logout of Jabber and the photos appears.
I thought this command should only be necessary if i use "Binary objects" as photo retrieval method and not with URI substitution ?
Anyway, hope this will help some one too.
Thanks for your help Jonathan
i tried with all the possibilites but no luck . I opend the sepeate thread for this .
https://supportforums.cisco.com/thread/2183735 Please check on this.
Thanks in Advance..