jQuery-inspired JavaScript tools for Alfresco
Copy elzar.js to "/Company Home/Data Dictionary/Scripts"
Add
<import resource="/Company Home/Data Dictionary/Scripts/elzar.js">
as the first line of your script.
var node = $("workspace://SpacesStore/683a7581-b138-47be-a367-cceddb5d6bf8");
var results = $("name:test")
$.dir(object);
Prints all properties of the object.
var nodeService = $.bean("NodeService");
Returns the Spring bean with the given name.
- console.log: Alias for logger.log
- JSON.stringify: Alias for jsonUtils.toJSONString