Skip to Content
avatar image
Former Member

Uploadcollection functionality in UI5

Uploadcollection functionality in UI5

Can anyone please let me know how to make synchronous or asynchronous from ui5 to ODATA for this uploadCollection functionality. i could not find in UI5 demokit.

Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

1 Answer

  • Feb 21 at 05:21 AM

    If i have understood your question correctly, you need to automatically or manually trigger the upload call from Upload Collection based on different scenarios.

    Upload Collection has a property "instantUpload"

    The default value of the property is true, so the call to Odata Service is made as soon as you upload a document/file.

    If you want to trigger the call on some event, then you will need to trigger the .upload() method of upload collection.

    Add comment
    10|10000 characters needed characters exceeded