on 2018 Mar 27 2:20 PM
Hi,
I have created a Fiori Elements List Report app using an annotated CDS view. When the app is launched, the message "No items selected. To start, enter your selection criteria and run the search" is displayed. The user has to hit the Go button to call the OData service to populate the list data.
My OData service will never contain much data. Is it possible to annotate the CDS to immediately populate the data when the app is launched?
Thanks,
Andrew
Request clarification before answering.
I appreciate this has already been answered but an alternative is to do this through the UI Adaptation Editor.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Andrew,
please check out the extension I've implemented for the list report to activate Live Mode with by calling setLiveMode(true); at ListReportExt.controller.js. I got support for this in the UI5 Slack channel.
Best regards
Gregor
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Thanks Gregor. I've implemented the FilterBar extension using your code and it works, as you said it would. I think I'm just a little disappointed that the new ABAP programming model, which claims you can create a Fiori app just by annotating CDS views, also involves changes to the generated Business Object and extensions to the app to get (what I would consider to be) standard functionality working.
Anyway, thanks very much for your help!
Andrew
User | Count |
---|---|
87 | |
10 | |
9 | |
8 | |
6 | |
6 | |
6 | |
5 | |
5 | |
5 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.