About path syntax

Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-11-2007 12:38 PM
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
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
Labels:
- Labels:
-
Archive
1 REPLY 1

Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-12-2007 05:10 AM
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
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
