How to get response on successful upload of multiple items #743
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
##Hi All,
I am uploading multiple files, After uploading of multiple files, I want to get the response of all items, I need to do some process after getting the response after the successful upload.
I have used 'this.uploader.onCompleteAll', but it does not return anything as per code.
Could anyone let me know how i can do this, please.
Could anyone please respond on this query, please?
I had the same issue and I resolved it like uploading one by one.
I have paste the code below
public uploadDocuments(){
for(let file of this.uploader.queue){
this.uploadFile(file);
}
}
@SanjuSudheerM Can you show me html and ts example of that, i want to see how you implemented that ?
@shakthi23
'onCompleteAll' is a hook, not a function. You use it in a similar way as ngOnInit in Angular. Do like that: