AnsweredAssumed Answered

type=file dashlet ??? JSON

Question asked by yascorp on May 16, 2014
Latest reply on May 16, 2014 by yascorp
Hi,
I have a dashlet with an input type=file.
I have done a request to send inputs data values to alfresco, I could get all my inputs values in my xxx.post.json.js, but not the content of my sended image file.
I found many difficulties to do it with formdata (multipart), I can't .
Is it possible to do it in the JSON way ??? and how can I get : my image content ???

newFile.content = content;

I can't use :
newFile.properties.content.write(content); //the problem come form write.

please help me
Thnx & regards

Outcomes