AnsweredAssumed Answered

Using aspects alone instead of types to set properties on documents

Question asked by kartech11 on Jun 22, 2018
Latest reply on Jun 25, 2018 by kartech11

I have just been reading about aspects and types in Alfresco content model.

I very basic question that I have is that I feel types are very restrictive compared to aspects. 

 

Lets say I upload a document that is a  Cash Invoice document and associate some values to the invoice. Later I realise that it was actually a credit invoice document. If I had uploaded the document to a type, then to reassign it to a different type I would have to delete and reupload the document. On the other hand, had I attached an aspect to the invoice document and later found out that it was an incorrect aspect, I could go to manage aspect and add/remove aspect and modify the properties in the aspect. This gives me more flexibility.

 

So my question is, 

1. Are there any drawbacks to the above approach of having only aspects instead of types?

2. Can I add/remove type of a document after it has been uploaded to alfresco?

Outcomes