Skip to Content

FileUploader not working from Launchpad on Fiori Client


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"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?

Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

1 Answer

  • Best Answer
    Aug 31, 2017 at 12:22 PM


    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.

    Add comment
    10|10000 characters needed characters exceeded