on 04-20-2020 3:59 PM
Hi all,
My Requiremnent:
When Click on "+" icon of UploadCollection , pick a file from local File Explorer and then a Dialog opens for selecting category of the file and when user clicks on confirm button of Dialog, File should upload along with selected category.
Problem:
I am not able to send the selected category as payload along with upload POST request which calls CREATE_STREAM in backend.
I tried adding Selected category as header parameter using addHeaderParameter(UploadCollectionParameter({name:"Type",value:"Selectedcategory"});
Note:
I have extended sap.m.UploadCollection control for setting property instantUpload="false" and changing Url dynamically using setUploadurl() in change event of UploadCollection control.
Any help will be appreciated.
Regards,
venkatesh.
User | Count |
---|---|
72 | |
9 | |
8 | |
6 | |
6 | |
6 | |
6 | |
5 | |
5 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.