cancel
Showing results for 
Search instead for 
Did you mean: 

How to have the PATH of a folder with his UUID

lorel
Champ in-the-making
Champ in-the-making
I use a query to have a folder on Alfresco.

I can extract those information :

{http://www.alfresco.org/model/content/1.0}modifier   admin
{http://www.alfresco.org/model/content/1.0}modified   2006-10-26T16:18:53.501+02:00
{http://www.alfresco.org/model/content/1.0}description   On retrouve ici, les informations disponibles en rapport avec l'administration
{http://www.alfresco.org/model/system/1.0}node-uuid   fbf59d48-64d9-11db-94cb-9fa4684f506f
{http://www.alfresco.org/model/content/1.0}creator   admin
{http://www.alfresco.org/model/system/1.0}node-dbid   435
{http://www.alfresco.org/model/system/1.0}store-protocol   workspace
{http://www.alfresco.org/model/content/1.0}title   VisionITGroup Administration
{http://www.alfresco.org/model/content/1.0}name   VisionITGroup Administration
{http://www.alfresco.org/model/system/1.0}store-identifier   SpacesStore
{http://www.alfresco.org/model/content/1.0}created   2006-10-26T12:08:53.562+02:00




In my object architecture, I need to have the path like /app:compagny_home/cm:……

Can you help me please.
12 REPLIES 12

rwetherall
Confirmed Champ
Confirmed Champ
Hi,

Yes this is correct, the web service API only supports Lucene queries and the QueryEnum has been preplaced with a string (the enum classes where proving troublesome in some situations).

Cheers,
Roy

sergio
Champ in-the-making
Champ in-the-making
And what about the problem of retrieving a null value for a node path using the <Reference>.getPath() method? I am just talking about the well known problem described in http://issues.alfresco.com/browse/AR-713.

Here the code used…..

ResultSetRow[] elencoNodi = rst.getRows();
for (ResultSetRow nodo : elencoNodi)
{
String uuidNodo = nodo.getNode().getId();
Reference n = new Reference();
n.setStore(store);
n.setUuid(uuidNodo);
String pathNode = n.getPath();
…..

Many thanks (Roy, I suppose)

All the best

Sergio

cludt
Champ in-the-making
Champ in-the-making
Hey guys!

Everybody is complaining here that getting the path via WebService is missing. So, vote for the bug to get it fixed earlier.
http://issues.alfresco.com/browse/AR-713