Dynamic Query Component - Looping through Pagination - SPA SDK

Dynamic components have limits and afaik you cannot add this kind of complex logic to the query. You will have to create a regular java component for this.