Hi All,
Am trying to fetch the values of attributes from OT DB using singlesearch but it prints me only the attribute name not its value below is my code.
singleSearchRequest.setDataCollectionSpec(prop.getProperty("name"));
singleSearchRequest.setQueryLanguage("Livelink Search API V1");
singleSearchRequest.setResultSetSpec(prop.getProperty("where name='samplefolder' and subtype=0"));
if(null != singleSearchRequest.getDataCollectionSpec()){
val = singleSearchRequest.getDataCollectionSpec();
System.out.println(" *****value in the query " + singleSearchRequest.getDataCollectionSpec());
}
}
OUTPUT:*****value in the query name.
Thanks in advance