Skip to Content
0

Uploadcollection functionality in UI5

Feb 16 at 03:51 AM

59

avatar image
Former Member

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.

10 |10000 characters needed characters left characters exceeded
* Please Login or Register to Answer, Follow or Comment.

1 Answer

Vaibhav Maheshwari Feb 21 at 05:21 AM
0

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.

Share
10 |10000 characters needed characters left characters exceeded