Skip to Content
0
Apr 13, 2016 at 02:27 AM

sap.ui.unified.FileUploaderParameter is not a constructor

734 Views

Hello,

I am working with sap.ui.unified.FileUploader.

I am passing two header prameters using the code

headerParameters : [ new sap.ui.unified.FileUploaderParameter({

name : "x-csrf-token",

value : csrfToken

}) ],

It works perfectly when I am running from the Gateway sever through sicf tcode.

When I registered this application on Fiori lauchpad it throws below error

sap.ui.unified.FileUploaderParameter is not a constructor.

I have referred JS Bin - Collaborative JavaScript Debugging this code.i can see it is working fine here.

I imported the same application to WEB IDE from my gateway system and changed the sap ui5 resource to https://sapui5.hana.ondemand.com/resources/sap-ui-core.js

Still getting the sane error it is not working for me.

Please help