Skip to Content
1
Jun 20 at 05:22 PM

FileUploader SAPUI5 Version 1.103

1264 Views

Hi all,

The past week SAP upgraded the Fiori Launchpad Sites in Neo with Maintenance version 1.103. Now my apps are failing specifically with FileUploader Component.

The Script is easy

var fU = this.getView().byId("idfileUploader");
var domRef = fU.getFocusDomRef();

The response of domRef is version 1.103 is <Button.....

The response of domRef version 1.102 is <Input.....

We need the input, how does it work in the new version, since the demokit is still in 1.102.

var file = domRef.files[0]; //Input
var reader = new FileReader(); reader.onload = function (evt) {...} reader.readAsBinaryString(file);


regards,
César