Getting data from different entity sets from back-end at once
I have created a custom Fiori app. My requirement is when I press a Add button, a form opens in which the user needs to fill data in the drop-downs. Each drop-down will get the data from different entity sets from ODATA. I am using filter method to fetch data.Since the control is going to back-end multiple times(for each drop down list), the time consumed is more (approx 2 mins). Is there any way by which I can get the data in one go and make the operation of loading Add page faster?
Emanuel Affatati replied
I think you can improve the speed of the app by using the concept of Batch Requests.
The idea is to group several odata requests, in just one.
Look at the following posts:
Also, when developing the odata services, try to follow the best practices listed in the following post: