on 08-17-2017 9:30 AM
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?
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.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
81 | |
24 | |
11 | |
9 | |
7 | |
5 | |
5 | |
5 | |
4 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.