11-28-2006 11:30 AM
12-03-2007 04:47 AM
10-19-2010 06:42 AM
var pr = [];
pr["cm:name"] = "targetName.jpg.url";
pr["cm:destination"] = "workspace://SpacesStore/76c17fe2-93f9-4293-a989-e50c4c1e01e4"; (Alfresco Target Node Reference)
pr["cm:title"] = "targetName.jpg";
pr["cm:description"] = "targetName.jpg";
linkNode = space.createNode("targetName.jpg.url", "{http://www.alfresco.org/model/application/1.0}filelink", pr);
linkNode.save();
10-02-2018 06:09 AM
For, 5.2 the above code works as well.
But when deleting the destination node, the link node is not deleted. How could this be reproduced with javasctipt and createNode?
03-16-2011 07:13 AM
Tags
Find what you came for
We want to make your experience in Hyland Connect as valuable as possible, so we put together some helpful links.