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

1

5

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.

Caliban answered 27/11, 2013 at 13:53 Comment(0)
S
8

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

Sucrase answered 27/11, 2013 at 14:2 Comment(0)

© 2022 - 2024 — McMap. All rights reserved.