AnsweredAssumed Answered

How to set default mimetype for custom models

Question asked by udayakumar_p on Jan 19, 2018
Latest reply on Feb 5, 2018 by udayakumar_p

Say we have a custom model named common:faq. It has properties cm:name, common:question, common:answer. How do i tell alfresco to set the default mimeype as text/plain for the contents created from this model?

When we create a content from this model, we see that the mimetype is set as 'application/octet-stream. instead we want this to be set to text/plain. How to configure this?


Note: when we create a content from other content models which has a cm:content property, alfresco sets the mimetype as text/plain by default.


Alfresco content service version: 5.2