Is it possible to change the component that has to be rendered as a component presentation in java dxa 1.2. For example, if an Article component with id tcm:5-100
is inserted on the page with Article CT.
During the component presentations rendering in delivery, can I replace the existing component with a different Article component with id tcm:5-101
which I have fetched through broker API based on particular metadata field value.
If it is possible please guide me with the method that has to be extended/ modified if required.