I am working with xCP 2.1, I want to create search based on custom query instead of Just 1 primary model, Is there something I can do to achieve this requirement ?
I have object type com_car (inherit dm_document) and then I have com_car_bmw ( inherit com_car) and then I have com_car_volvo ( inherit com_car) then I have com_car_honda ( inherit com_car)
I want to have search on com_car but for search input filed can be from sub_types example
com_car [attributes : car_moder , car_color, car_weight]
com_car_bmw [attributes : bmw_luxury_value, bmw_speed)
com_car_volvo [attributes : volvo_engine, volvo_max_seats)
com_car_honda [attributes : volvo_engine, volvo_max_seats)
Now Our Search Results fields are only from com_car_bmw [ car_moder , car_color, car_weight]
But search input fields are car_moder , car_color, car_weight, bmw_luxury_value, volvo_max_seats
How can I achieve this , I know, I can copy the attribute from child to parent , But in Prod , I cannt do that