03-13-2006 03:49 AM
03-17-2006 05:03 AM
03-30-2006 09:49 AM
04-09-2006 05:13 PM
06-14-2006 09:52 AM
$storename = "New Store";
$properties[0] = new NamedValue( "{http://www.alfresco.org/model/content/1.0}name", $storename);
$properties[1] = new NamedValue( "{http://www.alfresco.org/model/content/1.0}title", $storename);
$properties[2] = new NamedValue("{http://www.alfresco.org/model/content/1.0}description", "test");
$reference = new Reference($store, $focus->settings['alfresco_space'] );
$parentreference = new ParentReference($store, $reference->getUuid(), $reference->getPath(), ASSOC_CONTAINS, createQNameString( NAMESPACE_CONTENT_MODEL, $storename) );
$create = new CMLCreate($storename, $parentreference, TYPE_FOLDER, $properties);
$cml = new CML();
$cmllist[0] = $create;
$cml->setCreate($create );
$results = @$repository_service->update($cml);
09-04-2006 02:02 AM
09-05-2006 03:18 PM
09-06-2006 06:41 AM
$properties[0] = new NamedValue( "{http://www.alfresco.org/model/content/1.0}name',false, $contentname, null);
$properties[1] = new NamedValue( "{http://www.alfresco.org/model/content/1.0}title", false, $contentname, null);
$properties[2] = new NamedValue("{http://www.alfresco.org/model/content/1.0}description", false, "test", null);
//$reference = new Reference($store, $focus->settings['alfresco_space'] );
$parentreference = new ParentReference($store, $reference->getUuid(), $reference->getPath(), ASSOC_CONTAINS, createQNameString( NAMESPACE_CONTENT_MODEL, $contentname) );
$create = new CMLCreate($contentname, $parentreference, TYPE_CONTENT, $properties);
$cml = new CML();
$cmllist[0] = $create;
$cml->setCreate($create );
$results = $repository_service->update($cml);
Error: couldn't build response
Stack trace: #0 D:\PROJECT\WORK\web\TEST\lib\alfresco\RepositoryService.php(109): BaseService->checkForError(Object(SOAP_Fault)) #1 D:\PROJECT\WORK\web\TEST\modules\alfresco\addNode.php5(107): RepositoryService->update(Object(CML)) #2
10-12-2006 02:14 AM
12-11-2006 01:30 PM
Tags
Find what you came for
We want to make your experience in Hyland Connect as valuable as possible, so we put together some helpful links.