cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

Fiori app with multiple input fields with value help

YanGerzon
Participant
795

Hi,

I am trying to create a fiori app that has several input fields with value help that can each potentially filter the table individually or all at once.
I used the fiori freestyle template.
Im getting data from an external odata service that I then use for the table and for input fields.
What is the proper way to organize the logic?
Should I put it all in a single controller file of the list reports view?
Should I split it to several controller files?

Thanks in advance.

View Entire Topic
AlexNecula30
Active Contributor

Generally you have one controller per view. If you plan on having a single view, then use one controller.

If you plan on having the same logic on multiple views, use a base controller for that where subsequent controllers (linked to the views) are inheriting from the base controller.