returns the list of already uploaded files
object | the list of already uploaded files |
var myUploader = myForm.getUploader(name);
var data1 = myUploader.getData();
// or
var data2 = myForm.getItemValue(name); // recommended, used in dp and set/get form data
the returned list format is the following:
data1 = {
id0:{
realName: "..",
serverName: "..."
},
id1: {...},
...
}
data2 = {
myFiles_count: 2,
myFiles_r_0: "electric_guitar-m101.jpg",
myFiles_r_1: "electric-guitar.jpg",
myFiles_s_0: "electric_guitar-m101.jpg",
myFiles_s_1: "electric-guitar.jpg"
}
for data1:
for data2: