As we transition to the new Hyland Community, some post links may be temporarily disrupted as we finalize redirects. We apologize for the inconvenience and are working to resolve this as quickly as possible. Details.
var referenceType = "path"; // store type, store id, display path var reference = ["workspace", "SpacesStore", "Company Home/Shared","1.pdf"]; var foundNode = search.findNode(referenceType, reference); logger.log("Node path check :"+foundNode); model.foo = "bar"; model.foundNode="aaa";
companyhome.childByNamePath("/sites/sitename/documentlibrary/somename/"+filename);