I have started with a master-detail application template within WebIDE. We have a need to have multiple oData services for a particular use case. I've seen some examples in the older coding methods using named oModel. I thought a good first step would be to take a working application based off the template and simply name the oModel to get that working.
It is filling my Master view just fine. However, it is the detail view that isn't populating.
The name of my oModel is mainModel and I have made sure that in the Detail.view.xml that everything is referenced that way such as {mainModel>MAN_NAME}. This is the same way I am referencing them in the Master.view.xml and again that is populating.
I don't get any data in the Detail.view.xml, through debugging I can see that even within the bindView method of the Detail.controller.js the data is coming and is being bound. Then the fireDetailChanged function is called, the entity path is correct.
But there is no data on the screen. Can anyone point me in a direction to look? I have made sure that I have changed the any references to getModel() to getModel("mainModel") and the same with any references to getBindingContext().
Any thoughts on where to look would be appreciated.