Form setItemValue for control of type 'upload'


I have a form with fields values filled, because it is for edit some data.

I am not able to setItemValue for a control of type ‘upload’, I’ve already tried with

var data = {
myFile_count: 1,
myFile_r_0: “spreadsheet.xls”,
myFile_s_0: “spreadsheet.xls”,
myForm.setItemValue(“myFile”, data);

It doesn’t work, can you help me, please?


hello Camil.

Unfortunately it is not available to set the value for the “upload” from item.
Here you can find the availabhle API of the uploader control: