We have a Category case type and maintain multiple Product records under each Category. On a landing page, we display the list of Categories through a Data Page sourced from a Report Definition.
The Report Definition includes an association join to the Product data and uses an aggregate column to display the count of Products associated with each Category. A Post Data Transform is used to flatten and format the results for display.
As the source records are work objects (Category cases), we want to enable local actions at row level from the landing page. However, despite enabling all relevant configurations, the row-level actions are not displayed.
During troubleshooting, we observed that enabling “Allow querying on any column” on the Data Page causes the row-level actions to appear and function correctly. However, once this option is enabled, the aggregate count calculation in the Report Definition no longer works as expected, because of runtime query.
Declare expression also not working if we check allow querying. Also we cannot use Insights for this requirement, as it introduces additional capabilities and interactions that are not aligned with the business needs.
I would expect that, Constellation functions tie into queryable data pages a lot.
Could I understand a bit more on the UX you’re trying to achieve - you want to show a list of cases AND counts? I don’t understand how that works with our current table components. Unless you made your own, I have seen attempts to create totals under embedded or data reference tables (like Insights does)
My gut would of been to go with Insights, but you have rule that out (more on that later). So if count’s are important, do they have to be inside the data page?
You could put the counts outside the table context? above or below with the relevant counts? I would need to understand the use case and UX a bit more in depth to be sure this would actually solve the business need.
Insights
Which insights features don’t align with business needs? '26 does introduce some more controls on what is shown and not.
I agree with @MarcCheong recommendation. Since the requirement is essentially to display Category records along with the count of associated Products, and the relationship can be achieved through an Association rule, Insights seems like a natural fit for handling the join and aggregate count using Group By as suggested.