
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎02-24-2020 08: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
- Labels:
-
Alfresco Content Services
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎02-24-2020 08: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.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎02-24-2020 08: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.

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎02-24-2020 09:06 AM
Thank you.
That was the missing piece of knowledge I didn't know.
I didn't realize they were the same.
