AnsweredAssumed Answered

Check for existing association with PHP API

Question asked by rob2020 on Aug 5, 2009
Latest reply on Aug 6, 2009 by rob2020

Can anyone advise how I can check to see if an association already exists (using PHP API)

I'm using code which works fine to add new associations ie

$contentNode->addAssociation($nodeToBeAddedToAssociation, "associationName");

But I'm not able to first see if that association already exists (in which case I'll skip it).  This will enable me to make my import script re-runnable.