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?
Solved! Go to Solution.
Hi,
That childByNamePath method is returning a ScriptNode so it should be docNode.nodeRef
Hi,
That childByNamePath method is returning a ScriptNode so it should be docNode.nodeRef
Ask for and offer help to other Alfresco Content Services Users and members of the Alfresco team.
Related links:
By using this site, you are agreeing to allow us to collect and use cookies as outlined in Alfresco’s Cookie Statement and Terms of Use (and you have a legitimate interest in Alfresco and our products, authorizing us to contact you in such methods). If you are not ok with these terms, please do not use this website.