cancel
Showing results for 
Search instead for 
Did you mean: 

How do I get the uuid of a node?

fcpa
Champ in-the-making
Champ in-the-making
Hi,

I have figured out that in order to delte a node I require its uuid.

I only have the full pathname of the node, and not its uuid. Is there a way of obtaining the node uuid given that I only know the pathname?

I'm using web services API and C#

Any help would be appreciated.

–Bob
2 REPLIES 2

rivetlogic
Champ on-the-rise
Champ on-the-rise
Hi,

You could query for the node using the path. From the resultset you can get the node uuid.

http://wiki.alfresco.com/wiki/Search

http://wiki.alfresco.com/wiki/Repository_Web_Service#query

http://wiki.alfresco.com/wiki/Web_Service_Data_Types#ResultSet


Best Regards,
Shagul

vsuarez
Champ in-the-making
Champ in-the-making
You can delete a object by its path, not only by uuid. The CML "delete" statement accepts in the predicate the path or the uuid of the node to be deleted.