var path = args.path
function main()
{
var docNode = companyhome.childByNamePath(path);
model.foo = docNode;
}
main();
The above script returns an object
Node Type: {http://www.alfresco.org/model/content/1.0}folder Node Ref: workspace://SpacesStore/8e9a9f49-0d33-41b4-9c4a-ad9d172d3f02
Is there a way to retrieve Node Ref from this?