08-12-2009 02:41 AM
09-14-2009 11:52 AM
$client = AlfWebServiceFactory::getAuthoringService($this->_session->repository->connectionUrl, $this->_session->ticket);
$result = $client->createVersion(
array("items" => array("nodes" => $this->__toArray()),
"comments" => array(
array("name" => "description", "value" => $description),
array("name" => "versionType", "value" => "MAJOR")
),
"versionChildren" => false));
<SOAP-ENV:Body>
<ns2:createVersion>
<ns2:items>
<ns1:nodes>
<ns1:store>
<ns1:scheme>workspace</ns1:scheme>
<ns1:address>SpacesStore</ns1:address>
</ns1:store>
<ns1:uuid>bf3f52bf-a74c-4474-9ccd-fecb22f0563d</ns1:uuid>
</ns1:nodes>
</ns2:items>
<ns2:comments>
<ns1:name>description</ns1:name>
<ns1:isMultiValue xsi:nil="true"/>
<ns1:value>A new major version</ns1:value>
</ns2:comments>
<ns2:comments>
<ns1:name>versionType</ns1:name>
<ns1:isMultiValue xsi:nil="true"/>
<ns1:value>MAJOR</ns1:value>
</ns2:comments>
<ns2:versionChildren>false</ns2:versionChildren>
</ns2:createVersion>
</SOAP-ENV:Body>
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.