Hi and thank you in advance for your help.
I am trying to understand the best way to show related entity attributes for a selected entity in the same screen.
Lets say I have Customer and Order entities, and I want one screen with a list of customers in one table, and a separate table listing relevant orders when I select a Customer in the first one.
Now a way to do this is shown in the “Getting Started” guide (https://doc.cuba-platform.com/manual-6.1/qs_customer_edit_with_orders.html).
However I thought that creating a new view for the Customer entity with box checked for the Order attribute (using _local view for this attribute) would do that automatically - but this does not seem to work. What is the point of creating a new view with _local view for related attributes then?
In the getting started guide, a query is used to restrict Orders relevant to selected Customer. Can this be done without specifying a query if a “Nested Datasource” is used? I thought that this was what the nested datasource was for.
Thank you for helping understand!