AnsweredAssumed Answered

How to Reset the type of node using Javascript API?

Question asked by anujs86 on Aug 19, 2010
Latest reply on Aug 25, 2010 by anujs86
Hi,

Can any one knows how to reset a node in alfresco using javascript API.
I want to change the node type to "cm:content" or any other type.
Currently i am trying to delete the mandatory aspect associated with that node and getting integrity error.
Please help…

error

2010-08-19 20:07:37,485 (IntegrityChecker.java:666) ERROR org.alfresco.repo.node.integrity.IntegrityChecker - Found 1 integrity violations:
Mandatory aspect not set:
   Node: workspace://SpacesStore/9f34e5db-861f-4315-a958-5449b06d3244
   Type: {http://www.alfresco.org/model/fnodocs/1.0}clientmasteragreement
   Aspect: {http://www.alfresco.org/model/fnodocs/1.0}clientagreementproperties

thanks
Anuj

Outcomes