On Mar 20, 2012, at 17:31 , Francisco Carriedo Scher wrote:

> Hello,
> 
> i have been trying to create a nt:linkedFile node but i don't know what is
> "REFERENCE" in
> 
> [nt:linkedFile] > nt:hierarchyNode
>  primaryitem jcr:content
>  - jcr:content (REFERENCE) mandatory
> 
> I have tried with the path of the node i want to link, a reference obtained
> through JcrUtils.getReferences(nodeToLink)... But different exceptions
> arised.


references work on UUID's
the target node needs to have the mixing type "mix:referenceable" which would 
give it a UUID automatically on save.

regards,
Lukas Kahwe Smith
[email protected]



Reply via email to