cancel
Showing results for 
Search instead for 
Did you mean: 

how updating mime-type via webservice

jurevert
Champ in-the-making
Champ in-the-making
Hi,

I have importing into my Alfresco repository a lot of documents using Alfresco webservice API but i haven't set the mime-type. (It's text/plain by default)

It's a mistake and in fact, now, i want setting mime-type via webservice to existing Alfresco document.

I think i have to use CMLUpdate but i can't find the good way…

Thanks for help me. :roll:

Julien
1 REPLY 1

rwetherall
Confirmed Champ
Confirmed Champ
Hi,

Have you tried using the WriteContent CML command?

You should be able to change the mimetype of a content property using this command.

Cheers,
Roy