cancel
Showing results for 
Search instead for 
Did you mean: 

Parent Spaces

sarag
Champ in-the-making
Champ in-the-making
Hi!

I have to insert a document in a space but I don't know the parent spaces.

I mean, I normally do this:

"/app:company_home/*[@cm:name=\"Users\"]/*[@cm:name=\"user1\"]"‍

but now I only know the user (user1) and I don't know that is a child of the space "Users". What can I do?

Thanks on advace
1 REPLY 1

andy
Champ on-the-rise
Champ on-the-rise
Hi

You can user the person service to find the person by username and then get the node reference to their home space.

Regards

Andy