We integrated Alfresco and PHP using CMIS. We created custom content in alfresco called "my: content".
We are creating a document from PHP on alfresco. Below is the code for creating the content.
$client = new CMISService($repo_url, $repo_username, $repo_password);
$myfolder = $client->getObjectByPath($repo_folder);
$obs = $client->createDocument($myfolder->id, $repo_new_file,$prop, "THIS IS A NEW DOCUMENT", "text/plain");
I want to set a custom property from PHP. Where can I set this type in PHP?
Thanks.
source
share