cancel
Showing results for 
Search instead for 
Did you mean: 

How to update cmis:name document??

trompe
Confirmed Champ
Confirmed Champ
Hi!

I want to change cmis:name of a document, because before his name was 'PRUEBAS' and now I want that his name will be 'PRUEBAS_MODIFIED'.

I use Apache Chmistry PHP Library (phpclient) but…I can't change the cmis:name…

My code



$test  = new CMISService($repo_url, $repo_username, $repo_password);
$id = 'ddb6eabd-a862-4e6b-9251-32b6e73300d7';  //existing objectId of the document that his name now is PRUEBAS.

$obj = $test->updateProperties($id, array('cmis:name' => 'PRUEBAS_MODIFIED'));

var_dump($cmis_repo->getObject($obj->id)); // I see that cmis:name continue PRUEBAS instead of PRUEBAS_MODIFIED ¿why?

1 REPLY 1

erny18031
Champ in-the-making
Champ in-the-making