The jsNode properties are:
| Property | Description |
|---|---|
| Core node properties | |
| nodeRef | NodeRef |
| type | The node’s type in short QName format |
| isContainer | Returns true if the node is a container type |
| isLink | Returns true if the node is a file or folderlink type |
| isLocked | Returns true if the node has been locked by any user |
| linkedNode | If this node is a link, returns a jsNode instance of the linked node |
| Content nodes | |
| contentURL | Of the format /api/node/content/{nodeRef}/{filename} |
| mimetype | Content mimetype |
| size | Content size in bytes |
| Properties | |
| properties | All properties are available either by using:properties[“my:property”] or properties.my_property.Note that cm: properties are available without the prefix, i.e. “properties.description”, “properties.title” |
| Aspects | |
| aspects | Array of aspects present on this node. See also hasAspect() |
| Permissions | |
| permissions | The permissions the current user has on this node. The list of permissions is defined in the applicationScriptUtils bean configuration. |
| Tags | |
| tags | Array of tags. See also hasTag() |
| Categories | |
| categories | Returns an array of the format [categoryName, category path] |