Open CMIS Query and cmis:baseTypeId

2010-04-08 Thread Gabriele Columbro
Hi guys, I'm playing around with OpenCmis and CMIS SQL querying and I'm having some trouble in retrieving objects properties from the QueryResult class. For instance, I'm getting a null value when trying to retrieve: QueryResult.getPropertyValueById(cmis:baseTypeId) which seems not to be

RE: Open CMIS Query and cmis:baseTypeId

2010-04-08 Thread Florian Müller
Hi Gabriele, A CMIS repository _has to_ return the query name and _can_ return the property id with every query result field. If the repository does not return the property ids getPropertyValueById() will always return null. getPropertyValueByQueryName() should be a safe bet. Before you can

Re: Open CMIS Query and cmis:baseTypeId

2010-04-08 Thread Gabriele Columbro
Hey Florian, Thanks for the answer, see my clarifications interleaved: -- Gabriele Columbro Professional services EMEA Alfresco Ltd. (Sent from my iPhone) On 8 apr 2010, at 19:37, Florian Müller fmuel...@opentext.com wrote: Hi Gabriele, A CMIS repository _has to_ return the query name and