AnsweredAssumed Answered

How to set a custom document type?[Urgent]

Question asked by maqsood on Oct 7, 2010
Latest reply on Oct 26, 2010 by maqsood
Hi

Can any one have a code or pointer on how to set custom document type and its properties in php. the following code i found on net to set an aspect.

// Add the two aspects
$newNode>
addAspect("{http://www.someco.com/model/content/1.0}webable");
$newNode>
addAspect("{http://www.someco.com/model/content/1.0}productRelated");

i have to retrieve a custom document type & then set its properties in php. The same thing i can do it in java using the following code:

CMLCreate create = new CMLCreate("1", companyHomeParent, companyHomeParent.getUuid(), Constants.ASSOC_CONTAINS, null, Constants.PROP_CONTENT, contentProps);
create.setType("{custom.Model}ProjProps");

Any help??

Outcomes