Hi, I am using SAPwebIDE, and have already developed SAPUI5 App using MD/MMD Template (as described here: SAPwebIDE MD/MMD templates unpleasant differences (bound List/Table doesn't work properly in MMD Detail view, but works OK in MD Detail view))
But, the problem is: when I install this app as SAP Fiori Component into our ABAP AS, or just launch this App as SAP Fiori Component from SAPwebIDE i'm getting no bindings to the Table/List placed in Detail.view:
At the same time, when I launch this App as index.html, I get my table/list full of excellent and fresh data:
The question is: What should i fix in Component.JS to get my bindings the same way as in index.html-way?
P.S. How to re-create this sample App from scratch in SAPwebIDE:
- File/New/Project From Templates
- Master/Detail template, NorthWind as Odata service, "/V3/Northwind/Northwind.svc"
Set MasterSection/Odata Collection: Products.
Then add this xml-code of Bound List into the Detail.view.xml under thePage/content/IconTabBar/items/IconTabFilter/content
Items' path: Order_Details:
<List xmlns="sap.m" id="idList" inset="false" visible="true" headerText="" headerDesign="Standard" footerText="" mode="None" width="100%" includeItemInSelection="false" showUnread="false" noDataText="" showNoData="true" enableBusyIndicator="true" modeAnimationOn="true" showSeparators="All" swipeDirection="Both" growing="false" growingThreshold="20" growingTriggerText="" growingScrollToLoad="false" rememberSelections="true" backgroundDesign="Solid" itemPress="" items="{path:'Order_Details'}" > <items> <ColumnListItem type="Navigation" counter="0"> <cells> <Text text="{OrderID}"/> <ObjectIdentifier title="{ProductID}" text="{UnitPrice}"> </ObjectIdentifier> </cells> </ColumnListItem> </items> <columns> <Column minScreenWidth="tablet"> <header> <Text text="OrderID" maxLines="0"/> </header> </Column> <Column minScreenWidth="tablet"> <header> <Text text="ProductID / UnitPrice" maxLines="0"/> </header> </Column> </columns></List>
P.P.S. I've already tried this Data binding not working for Component based SAPUI5 app solution, but I am not sure if I get it right, it does not work for me/my app.
Best Regards, Ilia.