Skip to Content
Former Member
Jan 16, 2014 at 05:49 AM

Bind detail page list with master page context-error Cannot read property 'uri' of undefined


Hello everyone,

I am developing a master detail application which consumes an OData service.When a master list item is clicked i am trying to bind the context of it to the detail page controller onBeforeShow() as follows:

this.getView().byId("pr_list").bindElement("/" +;

but its throwing Cannot read property 'uri' of undefined error.Please tell me how to bind context("/ES_CF_PENDING_APP_LIST(SSoff='A110')/AS_DEALER") to list with id "pr_list" . Both master and detail views are of type HTML and hence when I set following to the list in detail HTML View:


It works fine 😔.

Any help will be appreciated.