cancel
Showing results for 
Search instead for 
Did you mean: 

SAPUI5 upload collection example

smith_john
Active Participant

Hi,

Can anyone point me towards a good blog/tutorial for the upload collection control?

My use case is I want to upload a picture of a user and have it appear next to their ID in the app I'm building.

There's a decent sample here so I'm probably good with the front end design, but how to setup the backend oData service, tables etc?

any pointers greatly appreciated.

thanks!

smith_john
Active Participant
0 Kudos

thanks but thats not what I'm looking for, that uses a different control which is outdated and doesnt cover how to setup the backend.

maheshpalavalli
Active Contributor
0 Kudos

If you use upload collection control, the. Then the user has the option to upload multiple attachments, then will he have multiple profile pics?

Have alook at the below control, which looks like a better alternative to upload collection considering ur scenario

https://sapui5.hana.ondemand.com/#/entity/sap.ui.unified.FileUploader/sample/sap.ui.unified.sample.F...

Or am I missing anything?

smith_john
Active Participant
0 Kudos

Yes I'm aware of that control also.

Do you have any recommendations on how to setup the backend?

View Entire Topic
0 Kudos

Hi Neil,

you need to implment the CREATE_STREAM() in your Gateway.

Example:

How To Upload and Download Files Using SAP NW Gateway SP06

I hope it helps you