cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

SAPUI5 UploadSet upload a file, which is stored in a server, as a copy into the same server again.

hasanciftci
Explorer
0 Kudos
337

Hello all,

I have a SAPUI5 application with a CAP backend and HDI Container on BTP Cloud Foundry. I'm getting a png/jpg file from user and uploading it into database. User wants to have a copy feature of the table below. When user clicks on copy button, I open a popup with pre-filled data of the selected line. However, I also need to bring the png/jpg file into UploadSet so user can download it and create a copy of the png/jpg file in the database when user clicks on create button.


Note: I'm able to add an Incomplete UploadSetItem with mediaType, fileName, url properties read from db by selected line's ID. However, when I run the upload method of UploadSetItem, it's not uploaded because file is not selected by user.

1) Copy button



2) Popup with pre-filled data (png/jpg file of the selected line should be in UploadSet as an Incomplete Item and when user hits the "Create" button, this file needs to be uploaded)

Thanks in advance for all your suggestions,

Hasan Ciftci

Accepted Solutions (0)

Answers (0)