Skip to Content

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

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.

Add a comment
10|10000 characters needed characters exceeded

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

  • 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.



Assigned Tags

Related questions

2 Answers

  • Posted on Apr 12, 2018 at 10:48 AM

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

    Add a comment
    10|10000 characters needed characters exceeded

  • Posted on Sep 28, 2018 at 07:57 PM


    I have the exact same problem and the issue is reported here 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


    Add a comment
    10|10000 characters needed characters exceeded

Before answering

You should only submit an answer when you are proposing a solution to the poster's problem. If you want the poster to clarify the question or provide more information, please leave a comment instead, requesting additional details. When answering, please include specifics, such as step-by-step instructions, context for the solution, and links to useful resources. Also, please make sure that you answer complies with our Rules of Engagement.
You must be Logged in to submit an answer.

Up to 10 attachments (including images) can be used with a maximum of 1.0 MB each and 10.5 MB total.