Gul Akbar wrote:
> Hi,
> 
> How do I get the ID from a Resource which I set when I added the record?
> 
> Resource res = results.nextResource();
> String ID = res.getId();
> 
> This returns the String ID as 'null' everytime!

When retrieving results from a query you have to use res.getDocumentId();

Daniel

Reply via email to