Do you have the CSSDK ? There is a class CSExtendedAttribute that will help
String workarea=task.getArea().getVPath().getPathNoServer ().toString();String dcrFilePath = (new StringBuilder()).append(workarea).append("/templatedata/geam-content/bio/data/").append(fileNameWithoutExtension).toString(); CSVPath csvpath = new CSVPath(dcrFilePath); CSFile bioDcrCSFile = client.getFile(csvpath); CSSimpleFile bioDcrCSSimpleFile = (CSSimpleFile) bioDcrCSFile; String bioImgAtrrib = bioDcrCSSimpleFile.getExtendedAttribute("geam/metadata/photo").getValue(); LOG.debug((new StringBuilder()).append("value of bio photo attribute ").append(bioImgAtrrib).toString());