You need to sign in to do that
Don't have an account?
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
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
Hi,
check this link.
http://sfdcfacts.com/lightning/dynamic-listview-based-on-selected-object/