An old but great, and still actual, post from Luis Benitez about how to load existing photos from a LDAP Server into Lotus Connections:
http://www.lbenitez.com/2008/10/how-to-load-existing-photos-into-lotus.html
Luis also included a video that shows how to do it: http://blog.lbenitez.com/LoadPhotosLDAPTDI.swf
Additionally, I would like to summarize the steps that you need to follow:
1. Open the TDI Config Editor
2. File -> Open... profiles-config.xml
3. Go into Assembly Lines
4. Copy the load_photos_from_files assembly line (right-click -> copy)
5. Right-click -> Paste (a copy of the assembly line is created)
6. Rename the new assembly line (1_load_photos_from_files) to load_photos_from_ldap
7. Right-click Feeds and click on Add Connector component...
8. Select the new connector and go to the Config... tab
9. Specify the LDAP URL, username, password, search base, search filter
10. Click on Input Map tab
11. Connect to the data source and then discover the schema
12. Under work attributes add three attributes: $dn (mapped to $dn), uid (mapped to uid) and jpegPhoto (mapped to jpegphoto;binary)
13. Delete the read_entries feed
14. Under Flow, delete get_image
15. Under Flow -> write_entry , make sure PROF_IMAGE is mapped to jpegPhoto (the work attribute you added in step 12).
16. Save the AL
17. Go to the command line
18. Make a copy of load_photos_from_files.bat and save it as load_photos_from_ldap.bat
19. Open load_photos_from_ldap.bat with your favorite text editor
20. Change load_photos_from_files to load_photos_from_ldap
21. Save the batch file
22. Run load_photos_from_ldap
23. Voila!!
Regards.
No comments:
Post a Comment