AnsweredAssumed Answered

moving a node in PHP

Question asked by pyt on Dec 13, 2013
Hello,

I am completely new in Alfresco.

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

This is what I already have:
<php>
$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)
    {
        $name;
    }
</php>

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


Best regards
pyt

Outcomes