function readOnly(count){ }
Starting November 20, the site will be set to read-only. On December 4, 2023,
forum discussions will move to the Trailblazer Community.
+ Start a Discussion
SimmoSimmo 

Can I use the lightning:listView component with a bespoke SOQL query?

I have been using the lightning:listView componenet and have successfully got one to display within a community page.

However, the nature of the lightning:listView component is that it links itself directly to an existing List View.

I would like to use the functionlaity of a lightning:listView component within my community but I want to be able to select the data from potentially more than one object, so I might need a SOQL query.

Is there a way to achieve this, or if I have to create something that gives my the ordering and search capability of a List View what's the best way to create it?

Regards