jackrabbit-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Lukas Kahwe Smith <...@pooteeweet.org>
Subject Re: Creating a nt:linkedFile
Date Tue, 20 Mar 2012 21:35:34 GMT

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
mls@pooteeweet.org




Mime
View raw message