Skip to Content

Archived discussions are read-only. Learn more about SAP Q&A

SplitApp just Master refreshes, not Detail: oModel.callFunction, oModel.refresh

Hello,

I have a split app with a list and a detail controller. I click on a list item and the detail opens with:

Master: List item handle

var context = evt.getParameter("listItem").getBindingContext();

this.nav.to("Detail", context);

The nav.to is defined in the App.controller.js - everything is based on DJ Adams Fiori like apps in 10 exercises.

On the detail I have a button with a certain event handler:

oModelMS.callFunction('UpdateWorkStepStatus', 'GET', updateData, null, fnSuccess, fnError)  ;

and the fnSuccess is like:

oModelMS.refresh(true);

But then only the Master updates and not the detail view... How can I trigger that? If I manually click on the list item it shows the updated dataset...

Tags:
Former Member
Not what you were looking for? View more on this topic or Ask a question