09-11-2007 04:10 PM
children[1].properties["custom:PrimaryDocument"] = true;
children[1].save;child = children[1];
if(child.properties["custom:PrimaryDocument"]) "do something"
child.save;
child.move(newFolder);
09-17-2007 08:52 AM
09-17-2007 04:45 PM
var notes = children[1].properties["custom:Notes"];
var containsOnlineMaterial = children[1].properties["custom:ContainsOnlineMaterial"];
children[1].removeAspect("custom:OtherProperties");
var otherProps = new Array(3);
otherProps["custom:Notes"] = notes;
otherProps["custom:ContainsOnlineMaterial"] = containsOnlineMaterial;
otherProps["custom:PrimaryDocument"] = true;
children[1].addAspect("custom:OtherProperties", otherProps);
var author = child.properties["cm:author"];
child.removeAspect("cm:author");
var props = new Array(1);
props["cm:author"] = author;
child.addAspect("cm:author", props);
child.save;
child.copy(newFolder);09-21-2007 05:50 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.