02-24-2020 05:12 AM
Hi All,
I have a rule that executes a javascript when a document is dropped into a folder.
Inside the javascript I have accesss to the document object.
I am looking for a way to get a handle to the node object for the document that the rule is running against.
Thanks
02-24-2020 05:31 AM
The document object in the rule JavaScript is the node object. I don't know what other handle you want to have. The only other reference you would be able to get is the NodeRef via the document.nodeRef property accessor.
02-24-2020 05:31 AM
The document object in the rule JavaScript is the node object. I don't know what other handle you want to have. The only other reference you would be able to get is the NodeRef via the document.nodeRef property accessor.
02-24-2020 06:06 AM
Thank you.
That was the missing piece of knowledge I didn't know.
I didn't realize they were the same.
Explore our Alfresco products with the links below. Use labels to filter content by product module.