CmisJS icon indicating copy to clipboard operation
CmisJS copied to clipboard

Using setContentStream change the mimetype in Alfresco

Open plus- opened this issue 6 years ago • 0 comments

After using the setContentStream API to update content in Alfresco, it will change the mimetype to "Binary" or "Unknown" from what is was originally.

I've tried using both Buffer or UTF-8 string as the content parameter type and it didn't make any difference. Also it happens on some mimetype but not others (for example Plain Text works fine, but not XML)

plus- avatar Jul 12 '19 13:07 plus-