Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How to obtain uuid auto-generated on client side when upload to s3 with FineUploader?

i'd like to get the auto-generated uuid, How can i get it? I dont want to generate it my self.

...
onComplete: function(id, fileName, responseJSON) {
    // uuid of uploaded file
    console.log(id,fileName,responseJSON);
},
...

Thanks in advance.

like image 568
Eduardo Leiva Avatar asked Nov 27 '13 13:11

Eduardo Leiva


1 Answers

Use the getUuid method. For example, given an ID (such as the one provided in your onComplete callback:

this.getUuid(id);

For more methods, have a look at the methods documentation

like image 192
Ray Nicholus Avatar answered Oct 03 '22 20:10

Ray Nicholus