what is difference between sap ui5 version and combat version in Fiori app
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
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.
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.