AnsweredAssumed Answered

moving a node in PHP

Question asked by pyt on Dec 13, 2013

I am completely new in Alfresco.

I want to change to parent of a node in PHP.

This is what I already have:
$dmsnode = $session->query($spacesStore, "PATH:\"/app:company_home/st:sites/cm:bla/cm:documentLibrary/cm:inbound/cm:TEST.PDF\"");
    $node = $dmsnode[0];

    foreach ($node->parents as $name=>$value)

Is this the right way to solve my problem? How to I get access to my nodes parent?

Best regards