AnsweredAssumed Answered

Troubles with creating Association

Question asked by lista on Feb 16, 2009
Latest reply on Feb 16, 2009 by lista
Hi everyone,

I'm not sure what I'm doing wrong, so I need your help.
I'm getting the following error message:

Failed to create new space due to error: Failed to execute script 'workspace://SpacesStore/f65b8966-615e-4607-8808-fd2a41499855': TypeError: Cannot find function createAssociation.
for the following piece of code:

var sourceNode =  document.nodeRef;

sourceNode.createAssociation(nodes[i].nodeRef, "mq:containsPhysicalEntities");

Any help will be appreciated.