Skip to Content
0

Sapui5 UploadCollection drag a file into UploadCollection it doesn't work

Mar 20 at 06:34 AM

31

avatar image
Former Member

Due to the project needs . I used UploadCollection control to implement file upload.

I found a problem that when i drag a file into UploadCollection It doesn't work(upload) correctly.But if I click "plus" button to add a file .it can upload successfully.

So,I wanna find whats wrong with it.

Finaly,I found the abnormal code.

if i drag a file " this._aFileUploadersForPendingUpload[i].getValue()" it returns false

but i click "puls" button it returns true.

In my project code,i change the url & sendXhr status when i upload .

i tried many methods to fix it ,but i failed.

pls help me!

thanks vary much

upclc1.png (47.0 kB)
upclc2.png (14.6 kB)
10 |10000 characters needed characters left characters exceeded
* Please Login or Register to Answer, Follow or Comment.

1 Answer

avatar image
Former Member Mar 20 at 06:42 AM
0

Sorry

Correct it

if i drag a file " this._aFileUploadersForPendingUpload[i].getValue()" it returns ""

but i click "puls" button it returns the uploadUrl of item.

Share
10 |10000 characters needed characters left characters exceeded