cancel
Showing results for 
Search instead for 
Did you mean: 

FileUploader not working from Launchpad on Fiori Client

CristianBabei
Contributor
0 Kudos

Hello,

The problem I have, is that I want to use the sap.ui.unified.FileUploader on a mobile application and call the app from the Fiori Client Mobile App pointing to an Launchpad.

It works fine if I point to a Standalone URL, the mobile opens an "interface" for me to choose a file from gallery or take a new photo. The problem is when I point to a Launchpad and the FileUploader component don't open the interface to select a file.

I read that Launchpad doesn't load the sap.ui.unified and sap.ui.commons libraries, but I include them jQuery.sap.require("sap.ui.unified.FileUploader"), and when I create the component var oUploader = new sap.ui.unified.FileUploader()

And after that, I do an alert(oUploader), it returns the component properly and I can access his methods, also if the library wouldn't load properly, it would tell me that sap.ui.unified.FileUploader isn't a constructor.

And the best thing, I saw that this error don't happens on Iphone, only on Android.

Any advices?

Accepted Solutions (1)

Accepted Solutions (1)

CristianBabei
Contributor
0 Kudos

Hello,

Solved it, just in case anyone ever have this problem:

Seems that in the Fiori client, if you are pointing to an FLP, then on the Tile that points to your App, you must use a semantic object navigation, and not a normal URL like : /sap/bc/ui5_ui5/sap/zxxxxx/index.html

So you must create a assignation of destiny and point the tile to it, so the app, opens inside the launchpad and not on a new "window", cuz in a browser it works fine, but in the Fiori client, it doesn't.

Answers (0)