On 2016-03-05 10:04, techie2k wrote:
I want to share existing node to another node(without creating copy)

Tried  cloning from workspace, it tries to create another node, but I need
only a reference on other node, so that if I make any modification on
'Document node' will reflect on all other shared nodes.

*workspace.clone(workspaceName, sourceDocPath, targetNodePath, false);

Node 1 : /1/Task/Sample Node
Node 2 : /1/Task/Sample Node 2*

Document Node added to  'Node 2'

*Doc Node : /1/Task/Sample Node 2/Test_Doc.pdf*

Now I want to share 'document node' to 'node 1'?


Using Jackrabbit - 2.8.1 and JCR - 2.0

Note that Shareable Nodes are a feature not present in Oak (referring to your separate mail about migrating to Oak...).

Best regards, Julian

Reply via email to