on 07-09-2015 9:34 AM
Hi All,
I am trying to use sap.m.UploadCollection in an extended Fiori app using SAP Web IDE
I get an error saying-"sap.m.UploadCollection not found from resources".
This is probably because the BSP contains data-sap-ui-compatVersion="1.6" while the above control is available since 1.26
SAP UI5 version: 1.26.1
Core Version: 1.26.1
data-sap-ui-compatVersion="1.6"
SAP Web IDE version: 1.4
I need to know how to upgrade the combat version here so that i can use the UploadCollection control of sap.m library for file uploading.
Please help.
Hi All,
I found the solution to the above problem.
I was trying to use sap.ca.ui.FileUpload control in view.xml, but this control was never rendered in elements. Moreover, there was no error in browser console.
While using this control,
we always need to bind json data to model and set that model to the file upload control using items property of sap.ca.ui.FileUpload...else that control is never rendered
Even though json might be blank, it doesn't matter
Binding is mandatory.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
90 | |
10 | |
10 | |
10 | |
7 | |
7 | |
6 | |
5 | |
4 | |
3 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.