on 11-05-2015 10:56 AM
Hello SCN,
We are having a problem with custom Fiori apps that we have deployed on the SAP HANA Cloud Platform.
The Fiori apps work well when we preview them, but then they don't open in the Fiori Launchpad.
We get the error message: "Could not open app. Try again later"
In the browser console we find the following detailed error: "TypeError - i.getKey is not a function"
We don't use that function in any of our code, so I understand it belongs to a standard SAP controller.
In fact, the problem seems to be linked to Select UI input elements: if I remove the Select elements from the UI, then the apps work fine in FLP.
It's only when the Select elements are in place that the FLP scenario fails.
Looking forward to hearing the experts' feedback.
Thanks in advance!
Jon
Hi Jon
I solve the problem by asigning the selectedItem, selectedItemId and selectedKey atributes of the select element and I setup the id and key atributes of the select's items like this:
<Select id="oSTipId" selectedItem="Element sap.ui.core.ListItem#oI_Vacio" selectedItemId="oI_Vacio" selectedKey="oI_Vacio">
<items>
<sap.ui.core:ListItem id="oI_Vacio" key="oI_Vacio" text=""/>
<sap.ui.core:ListItem id="oI_CC" key="oI_CC" text="Cédula de Ciudadanía"/>
<sap.ui.core:ListItem id="oI_TI" key="oI_TI" text="Tarjeta de Identidad"/>
</items>
</Select>
regards
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
98 | |
11 | |
11 | |
10 | |
10 | |
8 | |
6 | |
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.