cancel
Showing results for 
Search instead for 
Did you mean: 

Developing Fiori application using Visual studio code

0 Kudos

Hi Team,

I have create UI5 Master detail template using visual studio. Now, I don't Know how to add multiple OData services .

Example : I am Creating Master page and facing issue with Detail page because OData not configured in detail page section. Kindly suggest how to add multiple OData services in Fiori applications.

SergioG_TX
Active Contributor

in the manifest file, you should be able to add any number of odata services. Check out the documentation Documentation - Demo Kit - SAPUI5 SDK (ondemand.com) on how to set up odata remote services

0 Kudos

Hi Sergio,

I have used Visual studio code tool .how we can add multiple OData Services.

stefan_schreck
Participant
0 Kudos

Hello Parandhaman,
Fiori Elements provides a different scope for OData V2 and V4 services. For V2 services, multiple services are not possible for the List Report-Object Page (LROP) pattern, but only for Overview Pages. Afaik multiple services are also not supported in connection with the Master-Detail pattern.
Situation looks different for OData V4, multiple services are supported here also by the Fiori Elements LROP pattern. In case of an ABAP backend, you can profit from the concept of service groups as provided by SAP Gateway.
Indeed, you can also try to extend your app by a custom section and connect to a different service from here.

Accepted Solutions (0)

Answers (1)

Answers (1)

former_member729810
Discoverer
0 Kudos

If you're using SAP Fiori tools, you can use Service Manager as follows:

  1. Right click on the application project manifest.json. (you can find this file in "webapp" subfolder of your project folder)
  2. In the context menu, select Service Manager .
  3. Click Add Service.
  4. Enter URL, username, and password.
  5. Click Add
0 Kudos

Hi Irina,

I followed your step but am getting error. If we are following this method need to add any file let me know.

former_member729810
Discoverer
0 Kudos

Hi Parandhaman,

What error are you getting?

Also, could you provide some more information on how you created your project? From your original post I assumed that you used "SAP Fiori freestyle SAPUI5 application" generator, is that right?