AnsweredAssumed Answered

How to get NodeRef of a document using javascript

Question asked by sbsrulz on Feb 3, 2009
Latest reply on Feb 13, 2009 by sbsrulz

I would like to write a JavaScript that associates a file with some already existing document in the repository as soon as the file is uploaded. I know I can use the createAssociation function but I have some trouble getting the nodeRef for the documents. So my question is:

How can I get the NodeRef for already uploaded document and the file being uploaded using JavaScript?