Quantcast
Channel: SCN: Message List
Viewing all articles
Browse latest Browse all 2638

SAP Fiori Templates

$
0
0

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.

1.jpg

 

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

 

Cheers,

San.


Viewing all articles
Browse latest Browse all 2638

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>