jsNode Reference - Alfresco Content Services - 23.4 - 23.4 - Ready - Alfresco - external - Alfresco/Alfresco-Content-Services/23.4/Alfresco-Content-Services/Develop/Reference/Share-Document-Library/jsNode-Reference - 2025-06-02

Alfresco Content Services

Platform
Alfresco
Product
Alfresco Content Services
Release
23.4
License

jsNode is the preferred object to access node properties and aspects by using JavaScript on the browser.

When dealing with DataTable records, record.jsNode should be available.

Note: It is the responsibility of any code that updates DataTable records to also ensure the jsNode property is updated (usually within the AJAX success callback).

To create a jsNode instance, use:

jsNode = new Alfresco.util.Node(p_node)

where p_node can either be a JavaScript object or JSON string. In either case, it should be in the format returned by the doclist-v2 data web scripts.