cancel
Showing results for 
Search instead for 
Did you mean: 

SAP Fiori Templates

Former Member
0 Kudos

Hi All,

Thanks in advance !

I have few clarifications regarding Fiori templates:

  1. SAP has released many fiori templates for diffrent purposes, most commonly used template is "Master Detail". There are two templates for this purpose,  SAPUI5 Master Detail and SAP Fiori Master Detail, which serves the same purpose. Can someone tell me which is best suitable template for SAP Fiori application development?
  2. I have developed simple fiori application with "SAP Fiori Master Detail". In my backend ODATA service, i have two entity sets MasterSet, DetailSet and one Associate MasterDetailSet. Masetr set is bind to Master view which is working fine and displaying list of records.

I have a problem with Detail view, how to bind entity set "DetailSet" to Detail view. I tried few options like bind element as below in detail view controller.

onBeforeRendering:function(){
   console.log("onBeforeRendering");

      this.byId("page").bindElement("as_master_details_set");

},


But Detail view content is not updating with master selection, as shown in below image. In master view selected record is Sick leave but detail view showing Annual leave info.

can someone tell me which is best method to bind detail view.

Cheers,

San.

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

Hi San,

The recommended template is the SAPUI5 Master Detail (the SAP fiori master detail will soon be deprecated),

Navigation and binding to OData collections should be done by following the routing concept - SAPUI5 SDK - Demo Kit

Regards,

Guy

Answers (0)