05-22-2010 01:17 PM
05-25-2010 12:00 PM
05-25-2010 05:47 PM
05-26-2010 12:04 PM
for ( k in keys(nodeB.properties) ) {
workingCopy.properties[k] = nodeB.properties[k];
}
05-26-2010 12:29 PM
05-27-2010 11:56 AM
I don't see why copying the cm:content property should only work for text files?
05-27-2010 12:15 PM
07-25-2010 08:18 AM
The "properties" property is a map, so you can iterate over all of the keys in the source map and set them in the destination map.for ( k in keys(nodeB.properties) ) {
workingCopy.properties[k] = nodeB.properties[k];
}
You may need to filter some items to prevent error messages (I think) as some properties may not be settable.
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.