cancel
Showing results for 
Search instead for 
Did you mean: 

About path syntax

ale_carraro
Champ in-the-making
Champ in-the-making
I noticed studying the examples that to get the root reference of a space it uses the following:

new ParentReference(storeRef, null, "/app:company_home"+homePath, Constants.ASSOC_CONTAINS, null);

i wonder where the /app:company_home came from: company_home does not seem to be a property or an association of the company home space.

I'm asking because I want to understand how to build a reference of an internal space, but without luck.

Can anyone write a link on the wiki where it References are described?

thanks

Alex
1 REPLY 1

doblek
Champ in-the-making
Champ in-the-making
Hi,

You can find a description of some data types in this link.

Though it describes them for version 1.3, I think basic data types haven't changed since then…

In order to build a node's reference you have two options:
- use node's UUID
- use node's path

You can see those parameters for existing nodes in "Admin Console » Node Browser".

Hope that helps…

Regards,
Enrique