on 04-19-2018 1:22 AM
Hi
We have a current issue whereby the actual user name (firstname.lastname) does not appear when we run an application on a mobile device after building with the Fiori Mobile cloud build service. If we run the application via the Fiori Launchpad on a desktop though the user name appears correctly.
We've used the Full Stack WEB IDE, with HAT turned on to build the app for Android and I have attached screenshots showing where the name appears correctly (desktop) and where it does not appear correctly (android mobile device).
We have assertion parameters set up that pass through the firstname and lastname and the SAML trace has all of the right fields coming through.
Any assistance would be appreciated.
default-user-issue.jpgactual-user-name.png
Thanks & Regards
Phil Cooley
phil.cooley - let me check with the product owner and get back to you.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
This is a limitation in the local home page implementation. You are not getting a full launchpad on your device.
If you want to retrieve the login name, then you need to add code to retrieve this information from the Kapsel Logon Manager plugin.
Example below (not specifically for your case, but you'll know what to do) :
var url = appContext.applicationEndpointURL + "/";
var oHeader = {
"X-SMP-APPCID": appContext.applicationConnectionId
};
if (appContext.registrationContext.user) {
oHeader.Authorization = "Basic " + btoa(appContext.registrationContext.user + ":" + appContext.registrationContext.password);
}
oModel = new sap.ui.model.odata.ODataModel(url, true, null, null,oHeader);
this._setModel(oModel);
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
93 | |
10 | |
10 | |
9 | |
9 | |
7 | |
6 | |
5 | |
5 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.