cancel
Showing results for 
Search instead for 
Did you mean: 

It's possible modify the folder name with Chemistry PHP Library?

trompe
Confirmed Champ
Confirmed Champ
The subject…

It's possible modify the name of a folder with Apache Chemistry Php Library…maybe use updateProperties? Any example?

Because I try it but…not.

Example:

$id = 'a5981f42-c2b8-4ddf-864b-d1bdea0f2ec3';

$parent = $cmis_repo->getFolderParent($id);

var_dump($parent);  //cmis:name = "OLD_NAME"

$prop2 = array();
$prop2['cmis:name'] = "NEW_NAME";

$ole = $cmis_repo->updateProperties($parent->id, $prop2);
var_dump($ole); // the cmis:name continues "OLD_NAME"…




However I can change the description of the folder (cmis:description) but cmis:name I can't
1 REPLY 1