Skip to Content
author's profile photo Former Member
Former Member

SAP Fiori Templates

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.

1.jpg (45.4 kB)
Add a comment
10|10000 characters needed characters exceeded

Assigned Tags

Related questions

1 Answer

  • Best Answer
    author's profile photo Former Member
    Former Member
    Posted on Dec 15, 2015 at 07:35 AM

    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

    Add a comment
    10|10000 characters needed characters exceeded

Before answering

You should only submit an answer when you are proposing a solution to the poster's problem. If you want the poster to clarify the question or provide more information, please leave a comment instead, requesting additional details. When answering, please include specifics, such as step-by-step instructions, context for the solution, and links to useful resources. Also, please make sure that you answer complies with our Rules of Engagement.
You must be Logged in to submit an answer.

Up to 10 attachments (including images) can be used with a maximum of 1.0 MB each and 10.5 MB total.