cancel
Showing results for 
Search instead for 
Did you mean: 

How to assign a mandatory aspect to a document using DotCMIS

rita_aiyar
Champ in-the-making
Champ in-the-making
Hi,

When a custom type was created, a mandatory aspect was associated with it.
<mandatory-aspects>
  <aspect>cm:titled</aspect>
  </mandatory-aspects>
We can now use DotCMIS to assign the type to the document. However we can't associate the aspect (as shown above). We tried different ways of assigning it to the Properties while creating the document but we kept getting an error.

Any idea how to assign an aspect to a document that has a type attached to it.

Regards,
Rita
1 REPLY 1

kaynezhang
World-Class Innovator
World-Class Innovator
t seems now dotcmis dose not support cmis 1.1,so you have to use cmis extension.
You can refer to https://forums.alfresco.com/forum/developer-discussions/alfresco-api/update-alfresco-aspect-properti...