cancel
Showing results for 
Search instead for 
Did you mean: 

Unable to send file to backend using drag and drop technique using sap.m.uploadCollection

ajaygupta
Participant
0 Kudos

I am using SAPUI5 version 1.52 with NW v7.51.
I was able to add a file to the File attachment control and able to upload in the backend by calling CREATE_STREAM method. But this works only using the add button of uploadcollection control.

But when I try to upload the file using the drag and drop control, the payload is empty and I could not call the CREATE_STREAM method in the backend.

ajaygupta
Participant
0 Kudos

It throws a 403 forbidden error only when using drag and drop technique.
But it is successful when you click on "+" symbol

0 Kudos

Hi Everyone/Ajay,

Facing same issue with sap.m.uploadcollection control,SAPUI5 version 1.52.9 with NW 7.5,

Files uploaded through “+” Icon are uploaded and visible in backend -> Services for Object -> Attachment List.

when Files are uploaded using Drag&Drop ,its uploaded in frontend but not visible in backend ->Services for Object -> Attachment List.

has SAP provided a fix on this or Kindly assist.

Regards,

Sowmya

Accepted Solutions (0)

Answers (2)

Answers (2)

former_member254911
Discoverer
0 Kudos

Hi,

I have the exact same problem and the issue is reported here https://github.com/SAP/openui5/issues/2199. The problem is that I don't think SAP provided a fix for this yet... Let me know if you have more information.

Thank you

Jn

ajaygupta
Participant
0 Kudos

Also I have checked it in Demo SDK .
This seems to be a standard issue with UI5 framework uploadCollection control.