Configure two Fiori tiles target same application but each displaying different view

843 Views Asked by At

I have created a custom Fiori application and deployed it to ABAP repository. Now I have to create two tiles.

  1. One for displaying the record.
  2. Another one for creating the new record.

Both the pages(display and new) are created in different views in same application.

Can I set the first page in first tile and second page in second tile as home page while launching, without creating the same copy of project again?

1

There are 1 best solutions below

0
On

Another option is to have 2 differents target mapping parameters on the tiles and use this.getOwnerComponent().getComponentData().startupParameters to retrieve them. This way you can read the parameter and choose what to do. However as suggested by user6177399 the guidelines for edit and display view would not suggest that.