Novell Home

Storing eGuide Photos as LDAP Attributes

Novell Cool Solutions: Tip
By Will Peterson

Digg This - Slashdot This

Posted: 30 Dec 2002
 

The Problem
How can I set up the eGuide photo to be an LDAP attribute not a file system path?

The Solution
To store your eGuide photos in LDAP (instead of the FILE system on your web server)...

Modify the "SVBinaryPhotoUpload" handler in the eGuide/WEB-INF/plugins/eGuide/uihandlers.xml file to use the key "LDAP" instead of "FILE".

For example, change the following:

<ui-attribute-handler>
  <id>SVBinaryPhotoUpload</id>
  <attribute-name>PHOTO</attribute-name>
  ...
  <FileStoreLocation>FILE</FileStoreLocation>
  ...
</ui-attribute-handler>

to the following:

<ui-attribute-handler>
  <id>SVBinaryPhotoUpload</id>
  <attribute-name>PHOTO</attribute-name>
  ...
  <FileStoreLocation>LDAP</FileStoreLocation> (CHANGED ON THIS LINE)
  ...
</ui-attribute-handler>

You will also see options to change the "MaxFileSize" and "StoragePath" (for the web server).

There is some general information about doing this at: http://www.novell.com/documentation/lg/eguide21/eguide/data/agl89k5.html


Novell Cool Solutions (corporate web communities) are produced by WebWise Solutions. www.webwiseone.com

© 2012 Novell