on 05-26-2015 2:20 PM
Hi All,
I am developing an Fiori master detail approval application. On Approving an item, master page should be refreshed to get the lastest workflows.
but in my Scenario after approving an item master page is not refreshing in my detail approval application.can you give me any solution to refresh the master page in fiori detail approval application.
Did you solve this problem?
I am still facing this issue.
I am using SAP WEB IDE Master/Detail template
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Chiranth,
Did you find solution for the issue.Even i am finding the same issue in my app.
Regards
Radhika
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Radhika,
In order to update the Master list you should refresh the data model.
oModel.refresh()
you can access the model object in an event handler function:
onAdd: function(oEvent){
var oModel = oEvent.getSource().getModel();
}
or in the controller:
var oModel = this.getView().getModel();
And from the view:
var oModel = this.getModel();
Regards,
Ido
Hi Ido,
I do refresh the model .The master list gets refreshed but the detail view still holds the old data.
It gets cleared once i click on any of the master view list item.
I can resolve this issue if i can select first master view list item once i have refreshed the model so that it loads the detail view post refresh,
Regards
Radhika
Hi Ido,
I do not see the code mentioned by you.I am extending production operation confirmation app and it is not a new app.
But i do see below code in detail view,but not sure what should i reload in the method:
this.oApplicationFacade.registerOnMasterListRefresh(function() {
}, this);
Regards
Radhika
User | Count |
---|---|
83 | |
10 | |
10 | |
9 | |
7 | |
6 | |
5 | |
5 | |
4 | |
3 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.