12-21-2007 07:51 AM
document.id == doc.id
even if document and doc represent the same node.document.id.equals(doc.id)
returns true.01-16-2008 12:35 PM
var id = new String(document.id);
if (someid == id)
{…}
then it should work.12-06-2008 08:47 AM
if(String(first_node.nodeRef) === String(second_node.nodeRef)) {
… same nodeRef
} else {
… different
}
12-08-2008 09:28 AM
// your noderef here
var nodeRef = "workspace://SpacesStore/4658fedc-f431-45fr-b834-c7a7441zs624";
var x = search.findNode(nodeRef);
var y = search.findNode(nodeRef);
if (String(x.nodeRef) === String(y.nodeRef)) {
logger.log("Equal");
} else {
logger.log("Not equal");
}
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.