Context:
I have created a link for a document with the "Copy to-> Create link" feature in alfresco share. I have the nodeRef and from that the document object of the link.
Question:
How do I get the original document's nodeRef or document object using the JS APIs?